Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
schuer committed Dec 16, 2023
1 parent 4edac2d commit 35dfe2c
Showing 1 changed file with 15 additions and 17 deletions.
32 changes: 15 additions & 17 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,20 +82,20 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push
# https://github.com/docker/build-push-action
uses: docker/build-push-action@v5
with:
context: ./images/${{ matrix.image }}
cache-from: type=gha
cache-to: type=gha,mode=max
platforms: linux/amd64,linux/arm64
push: true
# tags: |
# ${{ env.REGISTRY_IMAGE }}:${{ matrix.image }}
# ghcr.io/${{ env.REGISTRY_IMAGE }}:${{ matrix.image }}
tags: |
ghcr.io/${{ env.REGISTRY_IMAGE }}:${{ matrix.image }}
# - name: Build and push
# # https://github.com/docker/build-push-action
# uses: docker/build-push-action@v5
# with:
# context: ./images/${{ matrix.image }}
# cache-from: type=gha
# cache-to: type=gha,mode=max
# platforms: linux/amd64,linux/arm64
# push: true
# # tags: |
# # ${{ env.REGISTRY_IMAGE }}:${{ matrix.image }}
# # ghcr.io/${{ env.REGISTRY_IMAGE }}:${{ matrix.image }}
# tags: |
# ghcr.io/${{ env.REGISTRY_IMAGE }}:${{ matrix.image }}

# - name: Update repo description
# # https://github.com/peter-evans/dockerhub-description
Expand All @@ -111,9 +111,7 @@ jobs:
# https://github.com/Chizkiyahu/delete-untagged-ghcr-action
uses: Chizkiyahu/delete-untagged-ghcr-action@v3
with:
token: ${{ secrets.PAT_TOKEN }}
repository_owner: ${{ github.repository_owner }}
repository: ${{ github.repository }}
token: ${{ secrets.GITHUB_TOKEN }}
untagged_only: true
owner_type: org
except_untagged_multiplatform: true

0 comments on commit 35dfe2c

Please sign in to comment.