Skip to content

Commit

Permalink
refactor: Update build tag logic in release workflow to include borin…
Browse files Browse the repository at this point in the history
…gcrypto
  • Loading branch information
mativm02 committed May 20, 2024
1 parent e77c76c commit 5ee1f94
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
debvers: 'ubuntu/xenial ubuntu/bionic ubuntu/focal ubuntu/jammy debian/jessie debian/buster debian/bullseye debian/bookworm'
outputs:
tags: ${{ steps.ci_metadata.outputs.tags }}
commit_author: ${{ steps.fetch-author.outputs.commit_author}}
commit_author: ${{ steps.fetch-author.outputs.commit_author }}
steps:
- name: Checkout of tyk-pump
uses: actions/checkout@v4
Expand Down Expand Up @@ -209,7 +209,12 @@ jobs:
for arch in amd64; do
docker tag tykio/tyk-pump-docker-pub:${build_tag}-${arch} ${tag}-${arch} && docker push ${tag}-${arch}
done
docker manifest create ${tag} ${tag}-amd64 && docker manifest push ${tag}
if docker manifest inspect ${tag}; then
docker manifest create --amend ${tag} ${tag}-amd64
else
docker manifest create ${tag} ${tag}-amd64
fi
docker manifest push ${tag}
done
- uses: actions/upload-artifact@v4
if: ${{ matrix.golang_cross == '1.21-bookworm' }}
Expand Down

0 comments on commit 5ee1f94

Please sign in to comment.