Skip to content

Commit

Permalink
Skip push unless tagged
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed Aug 9, 2024
1 parent 917e019 commit 9ee683e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Create manifest list and push
if: ${{ startsWith(github.ref, 'refs/tags') }}
working-directory: /tmp/digests
run: |
docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
Expand Down

0 comments on commit 9ee683e

Please sign in to comment.