Skip to content

Commit

Permalink
Fix publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
M. Mert Yildiran committed Jan 17, 2022
1 parent 728c801 commit 860abde
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
flavor: |
latest=auto
prefix=
suffix=-${{ matrix.target }},onlatest=true
suffix=-${{ matrix.target[0] }},onlatest=true
- name: Build and push Docker image
uses: docker/build-push-action@v2
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
id: meta
uses: docker/metadata-action@v3
with:
images: ${{ env.GITHUB_REGISTRY }}/${{ env.IMAGE_NAME }}-${{ matrix.target }}
images: ${{ env.GITHUB_REGISTRY }}/${{ env.IMAGE_NAME }}-${{ matrix.target[0] }}

- name: Build and push Docker image
uses: docker/build-push-action@v2
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
- name: Create manifest
run: |
while IFS= read -r line; do
docker manifest create $line --amend $line-amd64 --amend $line-arm64
docker manifest create $line --amend $line-amd64 --amend $line-arm64v8
done <<< "${{ steps.meta.outputs.tags }}"
- name: Push manifest
Expand Down

0 comments on commit 860abde

Please sign in to comment.