Skip to content

Commit

Permalink
use dynamic labelling
Browse files Browse the repository at this point in the history
  • Loading branch information
oklopfer authored Feb 21, 2024
1 parent 177f96e commit 6b33dd0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/publish-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,12 @@ jobs:
- name: Create manifest list and push
working-directory: /tmp/digests
run: |
vertag=${{ env.INPUT_VERTAG }}
if [[ -z ${vertag} ]]; then
vertag="$(date +%Y%m%d)"
fi
docker buildx imagetools create \
--annotation "index:org.opencontainers.image.description=Contains a Pacstall Docker image for development." \
--annotation "index:org.opencontainers.image.description=Contains amd64/x86_64 + arm64/aarch64 Pacstall ${vertag} images for ${{ matrix.OS }}." \
$(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
$(printf '${{ env.REGISTRY_IMAGE }}@sha256:%s ' *)
Expand Down

0 comments on commit 6b33dd0

Please sign in to comment.