Skip to content

Commit 03089e6

Browse files
setting env in the push action
1 parent 9853873 commit 03089e6

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/docker-release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,15 @@ jobs:
6666

6767
- name: Build and push Docker image (with signing)
6868
uses: docker/build-push-action@v4
69+
env:
70+
DOCKER_CONTENT_TRUST: 1
71+
DOCKER_CONTENT_TRUST_REPOSITORY_PASSPHRASE: ${{secrets.DIGICERT_PKEY_PASSPHRASE}}
72+
DOCKER_CONTENT_TRUST_KEY_FILENAME: ${{secrets.DIGICERT_PKEY_FILENAME}}
73+
DOCKER_CONTENT_TRUST_PKEY_ROLE: ${{secrets.DIGICERT_PKEY_ROLE}}
6974
with:
7075
context: .
7176
push: true
7277
tags: ${{ steps.meta.outputs.tags }}
7378
labels: ${{ steps.meta.outputs.labels }}
7479
cache-from: type=gha
75-
cache-to: type=gha,mode=max
80+
cache-to: type=gha,mode=max

0 commit comments

Comments
 (0)