Skip to content

Commit

Permalink
hmmm
Browse files Browse the repository at this point in the history
  • Loading branch information
k0gen committed Oct 29, 2024
1 parent 6415a64 commit 624fa90
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/sdk-utils.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,13 @@ jobs:
cache-to: type=local,dest=/tmp/.buildx-cache,new=true

- name: Tag as latest if requested
if: ${{ inputs.publish_as_latest }}
if: ${{ github.event.inputs.publish_as_latest }}
run: |
# Ensure SHA-tagged images are available locally
docker pull ghcr.io/k0gen/sdk/utils:${{ github.sha }}-amd64
docker pull ghcr.io/k0gen/sdk/utils:${{ github.sha }}-arm64
# Create and push the manifest tagged as 'latest'
docker manifest create ghcr.io/k0gen/sdk/utils:latest \
--amend ghcr.io/k0gen/sdk/utils:${{ github.sha }}-amd64 \
--amend ghcr.io/k0gen/sdk/utils:${{ github.sha }}-arm64
Expand Down

0 comments on commit 624fa90

Please sign in to comment.