File tree Expand file tree Collapse file tree 4 files changed +6
-7
lines changed Expand file tree Collapse file tree 4 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 12
12
13
13
permissions :
14
14
contents : read
15
- packages : write
16
15
17
16
jobs :
18
17
build :
Original file line number Diff line number Diff line change 11
11
required : true
12
12
type : string
13
13
14
+ permissions :
15
+ packages : write
16
+ id-token : write # Required to authenticate with OIDC for AWS
17
+
14
18
jobs :
15
19
deploy :
16
20
continue-on-error : true
Original file line number Diff line number Diff line change 51
51
needs : jar-build
52
52
permissions :
53
53
contents : read
54
- packages : write
55
54
uses : ./.github/workflows/docker_build.yml
56
55
secrets : inherit
57
56
with :
61
60
docker-deploy :
62
61
needs : [jar-build, docker-build]
63
62
permissions :
64
- contents : read # To read secrets
65
- id-token : write # This is required for requesting the JWT
66
63
packages : write
64
+ id-token : write # Required to authenticate with OIDC for AWS
67
65
uses : ./.github/workflows/docker_publish.yml
68
66
secrets : inherit
69
67
with :
Original file line number Diff line number Diff line change 57
57
needs : release
58
58
permissions :
59
59
contents : read
60
- packages : write
61
60
uses : ./.github/workflows/docker_build.yml
62
61
secrets : inherit
63
62
with :
67
66
docker-deploy :
68
67
needs : [release, docker-build]
69
68
permissions :
70
- contents : read # To read secrets
71
- id-token : write # This is required for requesting the JWT
72
69
packages : write
70
+ id-token : write # Required to authenticate with OIDC for AWS
73
71
uses : ./.github/workflows/docker_publish.yml
74
72
secrets : inherit
75
73
with :
You can’t perform that action at this time.
0 commit comments