Skip to content

Commit

Permalink
fix manifest creation
Browse files Browse the repository at this point in the history
  • Loading branch information
icereed committed Feb 2, 2025
1 parent 3d2b0eb commit 23ca254
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/docker-build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,17 +155,17 @@ jobs:
if [[ "${GITHUB_REF_TYPE}" == "tag" ]]; then
VERSION=${GITHUB_REF#refs/tags/}
docker manifest create icereed/paperless-gpt:${VERSION} --amend \
--annotate icereed/paperless-gpt:${VERSION}-amd64 linux/amd64 \
--annotate icereed/paperless-gpt:${VERSION}-arm64 linux/arm64
icereed/paperless-gpt:${VERSION}-amd64 \
icereed/paperless-gpt:${VERSION}-arm64
docker manifest push --purge icereed/paperless-gpt:${VERSION}
docker manifest create icereed/paperless-gpt:latest --amend \
--annotate icereed/paperless-gpt:${VERSION}-amd64 linux/amd64 \
--annotate icereed/paperless-gpt:${VERSION}-arm64 linux/arm64
icereed/paperless-gpt:${VERSION}-amd64 \
icereed/paperless-gpt:${VERSION}-arm64
docker manifest push --purge icereed/paperless-gpt:latest
else
docker manifest create icereed/paperless-gpt:unreleased --amend \
--annotate icereed/paperless-gpt:unreleased-amd64 linux/amd64 \
--annotate icereed/paperless-gpt:unreleased-arm64 linux/arm64
icereed/paperless-gpt:unreleased-amd64 \
icereed/paperless-gpt:unreleased-arm64
docker manifest push --purge icereed/paperless-gpt:unreleased
fi

0 comments on commit 23ca254

Please sign in to comment.