Skip to content

Commit

Permalink
docker-publish.yml: I give up. docker/build-push-action#900
Browse files Browse the repository at this point in the history
  • Loading branch information
stynoo committed Dec 31, 2024
1 parent a39cd55 commit 8af7264
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,21 +67,14 @@ jobs:
uses: docker/build-push-action@48aba3b46d1b1fec4febb7c5d0c644b249a11355 # v6.10.0
with:
context: .
push: ${{ startsWith(github.ref, 'refs/tags/') }} # only upload to ghcr on tag pushes
platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
annotations: ${{ steps.meta.outputs.annotations }}
cache-from: type=gha
cache-to: type=gha,mode=max
provenance: false
- name: Push Docker image
id: push
uses: docker/build-push-action@48aba3b46d1b1fec4febb7c5d0c644b249a11355 # v6.10.0
with:
context: .
push: ${{ startsWith(github.ref, 'refs/tags/') }} # only upload to ghcr on tag pushes
cache-from: type=gha
cache-to: type=gha,mode=max

# Sign the resulting Docker image digest.
# This will only write to the public Rekor transparency log when the Docker
Expand Down

0 comments on commit 8af7264

Please sign in to comment.