Skip to content

Commit

Permalink
fix(actions): use regctl for (multiarch) image copy (#10335)
Browse files Browse the repository at this point in the history
Co-authored-by: Datong Sun <datong.sun@konghq.com>
  • Loading branch information
curiositycasualty and dndx authored Feb 22, 2023
1 parent 65e17e7 commit b5d01ec
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -533,13 +533,15 @@ jobs:
latest=false
suffix=-${{ matrix.label }}
- name: Install regctl
uses: regclient/actions/regctl-installer@b6614f5f56245066b533343a85f4109bdc38c8cc

- name: Push Images
env:
TAGS: "${{ steps.meta.outputs.tags }}"
run: |
PRERELEASE_IMAGE=${{ env.PRERELEASE_DOCKER_REPOSITORY }}:${{ github.sha }}-${{ matrix.label }}
docker pull $PRERELEASE_IMAGE
for tag in $TAGS; do
docker tag $PRERELEASE_IMAGE $tag
docker push $tag
regctl -v debug image copy $PRERELEASE_IMAGE $tag
done

1 comment on commit b5d01ec

@khcp-gha-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bazel Build

Docker image available kong/kong:b5d01ecbcfe6c990f49cee4d8279b4b4267c0373
Artifacts available https://github.com/Kong/kong/actions/runs/4238945468

Please sign in to comment.