mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-15 14:40:13 +01:00
ci: update release workflow to disable pushing Docker image and artifact attestation to registry
This commit is contained in:
parent
62fc467b02
commit
fc75ade94f
1 changed files with 4 additions and 4 deletions
8
.github/workflows/release-dev.yaml
vendored
8
.github/workflows/release-dev.yaml
vendored
|
|
@ -79,7 +79,6 @@ jobs:
|
|||
org.opencontainers.image.licenses=Apache-2.0
|
||||
tags: |
|
||||
type=raw,value=latest-dev
|
||||
type=raw,value=latest-dev-${{ github.sha }}
|
||||
|
||||
- name: Build and push Docker image
|
||||
id: push
|
||||
|
|
@ -96,7 +95,7 @@ jobs:
|
|||
with:
|
||||
subject-name: index.docker.io/beatkind/watchtower
|
||||
subject-digest: ${{ steps.push.outputs.digest }}
|
||||
push-to-registry: true
|
||||
push-to-registry: false
|
||||
|
||||
publish-github:
|
||||
needs:
|
||||
|
|
@ -131,7 +130,7 @@ jobs:
|
|||
org.opencontainers.image.licenses=Apache-2.0
|
||||
tags: |
|
||||
type=raw,value=latest-dev
|
||||
type=raw,value=latest-dev-${{ github.sha }}
|
||||
|
||||
- name: Build and push Docker image
|
||||
id: push
|
||||
uses: docker/build-push-action@84ad562665bb303b549fec655d1b64f9945f3f91
|
||||
|
|
@ -141,9 +140,10 @@ jobs:
|
|||
push: true
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
|
||||
- name: Generate artifact attestation
|
||||
uses: actions/attest-build-provenance@v2
|
||||
with:
|
||||
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}
|
||||
subject-digest: ${{ steps.push.outputs.digest }}
|
||||
push-to-registry: true
|
||||
push-to-registry: false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue