Skip to content

Commit

Permalink
Fixed problem with manifest unkown.
Browse files Browse the repository at this point in the history
Cause was the automated removal of untagged versions, which does not work with multi-arch containers.
See actions/delete-package-versions#90
  • Loading branch information
ManiMatter committed Mar 27, 2024
1 parent 1df5a06 commit 571c4f6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,11 @@ jobs:
--build-arg IMAGE_TAG=$IMAGE_TAG \
--build-arg SHORT_COMMIT_ID=$SHORT_COMMIT_ID \
--push \
--each "docker tag {{.ImageID}} $IMAGE_NAME:$IMAGE_TAG-{{.TargetPlatform.Architecture}}"

- name: "Delete untagged versions"
uses: actions/delete-package-versions@v5
with:
package-name: 'decluttarr'
package-type: 'container'
delete-only-untagged-versions: 'true'
# - name: "Delete untagged versions"
# uses: actions/delete-package-versions@v4
# with:
# package-name: 'decluttarr'
# package-type: 'container'
# delete-only-untagged-versions: 'true'
1 change: 0 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,3 @@ jobs:
--build-arg IMAGE_TAG=$IMAGE_TAG \
--build-arg SHORT_COMMIT_ID=$SHORT_COMMIT_ID \
--push \
--each "docker tag {{.ImageID}} $IMAGE_NAME:$IMAGE_TAG-{{.TargetPlatform.Architecture}}"

0 comments on commit 571c4f6

Please sign in to comment.