Enable Docker Content Trust for all build jobs in workflow files
This commit is contained in:
parent
c78e169fbc
commit
83fc43cc52
2 changed files with 12 additions and 2 deletions
5
.github/workflows/build-docker-internal.yml
vendored
5
.github/workflows/build-docker-internal.yml
vendored
|
|
@ -12,7 +12,6 @@ on:
|
|||
|
||||
env:
|
||||
VERSION: 0.10.4
|
||||
DOCKER_CONTENT_TRUST: 1
|
||||
jobs:
|
||||
build:
|
||||
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
||||
|
|
@ -45,6 +44,8 @@ jobs:
|
|||
- name: Build Production
|
||||
timeout-minutes: 60
|
||||
uses: docker/build-push-action@v6
|
||||
env:
|
||||
DOCKER_CONTENT_TRUST: 1
|
||||
with:
|
||||
context: ./docker/production
|
||||
platforms: linux/amd64
|
||||
|
|
@ -57,6 +58,8 @@ jobs:
|
|||
- name: Build Production Arm64
|
||||
timeout-minutes: 60
|
||||
uses: docker/build-push-action@v6
|
||||
env:
|
||||
DOCKER_CONTENT_TRUST: 1
|
||||
with:
|
||||
context: ./docker/production
|
||||
platforms: linux/arm64
|
||||
|
|
|
|||
9
.github/workflows/build-docker.yml
vendored
9
.github/workflows/build-docker.yml
vendored
|
|
@ -12,7 +12,6 @@ on:
|
|||
|
||||
env:
|
||||
VERSION: 0.10.4
|
||||
DOCKER_CONTENT_TRUST: 1
|
||||
jobs:
|
||||
build:
|
||||
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
||||
|
|
@ -42,6 +41,8 @@ jobs:
|
|||
|
||||
- name: Build Development
|
||||
uses: docker/build-push-action@v6
|
||||
env:
|
||||
DOCKER_CONTENT_TRUST: 1
|
||||
with:
|
||||
context: ./docker/development
|
||||
platforms: linux/amd64
|
||||
|
|
@ -53,6 +54,8 @@ jobs:
|
|||
|
||||
- name: Build Development Arm64
|
||||
uses: docker/build-push-action@v6
|
||||
env:
|
||||
DOCKER_CONTENT_TRUST: 1
|
||||
with:
|
||||
context: ./docker/development
|
||||
platforms: linux/arm64
|
||||
|
|
@ -64,6 +67,8 @@ jobs:
|
|||
|
||||
- name: Build Production
|
||||
uses: docker/build-push-action@v6
|
||||
env:
|
||||
DOCKER_CONTENT_TRUST: 1
|
||||
with:
|
||||
context: ./docker/production
|
||||
platforms: linux/amd64
|
||||
|
|
@ -75,6 +80,8 @@ jobs:
|
|||
|
||||
- name: Build Production Arm64
|
||||
uses: docker/build-push-action@v6
|
||||
env:
|
||||
DOCKER_CONTENT_TRUST: 1
|
||||
with:
|
||||
context: ./docker/production
|
||||
platforms: linux/arm64
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue