File tree Expand file tree Collapse file tree 2 files changed +18
-3
lines changed Expand file tree Collapse file tree 2 files changed +18
-3
lines changed Original file line number Diff line number Diff line change
1
+ secrets :
2
+ common :
3
+ - path : terraform/github/actions/terraform-provider-postgresql/common
4
+ version : 0
5
+ - path : common/github/actions/terraform-provider-postgresql/to_be_classified
6
+ version : 1
Original file line number Diff line number Diff line change 14
14
push :
15
15
tags :
16
16
- ' v*'
17
+
18
+ permissions :
19
+ contents : read
20
+ id-token : write
21
+
17
22
jobs :
18
23
goreleaser :
19
24
runs-on : ubuntu-latest
20
25
steps :
21
26
-
22
27
name : Checkout
23
28
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
29
+ - name : Load Secrets
30
+ uses : doctolib/actions/load-secrets@main
31
+ with :
32
+ prefix_secrets : true
24
33
-
25
34
name : Unshallow
26
35
run : git fetch --prune --unshallow
35
44
uses : crazy-max/ghaction-import-gpg@d6f3f49f3345e29369fe57596a3ca8f94c4d2ca7 # v5
36
45
with :
37
46
# These secrets will need to be configured for the repository:
38
- gpg_private_key : ${{ secrets.GPG_PRIVATE_KEY }}
39
- passphrase : ${{ secrets.PASSPHRASE }}
47
+ gpg_private_key : ${{ env.VAULT_SECRET_GPG_PRIVATE_KEY }}
48
+ passphrase : ${{ env.VAULT_SECRET_PASSPHRASE }}
40
49
-
41
50
name : Run GoReleaser
42
51
uses : goreleaser/goreleaser-action@9c156ee8a17a598857849441385a2041ef570552 # v6
46
55
env :
47
56
GPG_FINGERPRINT : ${{ steps.import_gpg.outputs.fingerprint }}
48
57
# GitHub sets this automatically
49
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
58
+ GITHUB_TOKEN : ${{ github.token }}
You can’t perform that action at this time.
0 commit comments