Update .forgejo/workflows/publish.yml
This commit is contained in:
parent
c260da8d73
commit
dd493ec9a6
1 changed files with 15 additions and 15 deletions
|
@ -29,18 +29,18 @@ jobs:
|
||||||
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
|
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
|
||||||
with:
|
with:
|
||||||
images: ${{ env.GITHUB_REPOSITORY }}
|
images: ${{ env.GITHUB_REPOSITORY }}
|
||||||
# - name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
# id: push
|
id: push
|
||||||
# uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
|
uses: docker/build-push-action@v6
|
||||||
# with:
|
with:
|
||||||
# context: .
|
context: .
|
||||||
# file: ./Dockerfile
|
file: ./Dockerfile
|
||||||
# push: true
|
push: true
|
||||||
# tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
# labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
# - name: Generate artifact attestation
|
- name: Generate artifact attestation
|
||||||
# uses: actions/attest-build-provenance@v1
|
uses: actions/attest-build-provenance@v1
|
||||||
# with:
|
with:
|
||||||
# subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}
|
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}
|
||||||
# subject-digest: ${{ steps.push.outputs.digest }}
|
subject-digest: ${{ steps.push.outputs.digest }}
|
||||||
# push-to-registry: true
|
push-to-registry: true
|
Loading…
Add table
Add a link
Reference in a new issue