mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-18 08:00:14 +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
|
org.opencontainers.image.licenses=Apache-2.0
|
||||||
tags: |
|
tags: |
|
||||||
type=raw,value=latest-dev
|
type=raw,value=latest-dev
|
||||||
type=raw,value=latest-dev-${{ github.sha }}
|
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
id: push
|
id: push
|
||||||
|
|
@ -96,7 +95,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
subject-name: index.docker.io/beatkind/watchtower
|
subject-name: index.docker.io/beatkind/watchtower
|
||||||
subject-digest: ${{ steps.push.outputs.digest }}
|
subject-digest: ${{ steps.push.outputs.digest }}
|
||||||
push-to-registry: true
|
push-to-registry: false
|
||||||
|
|
||||||
publish-github:
|
publish-github:
|
||||||
needs:
|
needs:
|
||||||
|
|
@ -131,7 +130,7 @@ jobs:
|
||||||
org.opencontainers.image.licenses=Apache-2.0
|
org.opencontainers.image.licenses=Apache-2.0
|
||||||
tags: |
|
tags: |
|
||||||
type=raw,value=latest-dev
|
type=raw,value=latest-dev
|
||||||
type=raw,value=latest-dev-${{ github.sha }}
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
id: push
|
id: push
|
||||||
uses: docker/build-push-action@84ad562665bb303b549fec655d1b64f9945f3f91
|
uses: docker/build-push-action@84ad562665bb303b549fec655d1b64f9945f3f91
|
||||||
|
|
@ -141,9 +140,10 @@ jobs:
|
||||||
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@v2
|
uses: actions/attest-build-provenance@v2
|
||||||
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: false
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue