Skip to content

Commit

Permalink
fixed workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rongxin-liu committed Sep 17, 2023
1 parent b3d53f9 commit 0a07cfe
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,15 @@ jobs:
run: |
docker push cs50/mysql:arm64
- name: Create multi-arch manifest and push to Docker Hub
if: ${{ github.ref == 'refs/heads/main' }}
run: |
docker manifest create cs50/mysql:latest, cs50/mysql:8 \
--amend cs50/mysql:amd64 \
--amend cs50/mysql:arm64
docker manifest push cs50/mysql:latest
docker manifest push cs50/mysql:8
- name: Create multi-arch manifest and push to Docker Hub
if: ${{ github.ref == 'refs/heads/main' }}
run: |
docker manifest create cs50/mysql:latest, cs50/mysql:8 \
--amend cs50/mysql:amd64 \
--amend cs50/mysql:arm64
docker manifest create cs50/mysql:8 \
--amend cs50/mysql:amd64 \
--amend cs50/mysql:arm64
docker manifest push cs50/mysql:latest
docker manifest push cs50/mysql:8

0 comments on commit 0a07cfe

Please sign in to comment.