File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 5
5
tags :
6
6
- " *"
7
7
8
- permissions : write-all
9
-
10
8
env :
11
9
REGISTRY : ghcr.io
12
10
IMAGE_NAME : ${{ github.repository }}
13
11
12
+ permissions : write-all
13
+
14
14
jobs :
15
15
build :
16
16
runs-on : ubuntu-latest
17
+ permissions :
18
+ packages : write
17
19
steps :
18
20
- uses : actions/checkout@v4
19
21
- name : Set Up JDK17
@@ -51,11 +53,11 @@ jobs:
51
53
- name : Log in to Docker Hub
52
54
uses : docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
53
55
env :
54
- GITHUB_TOKEN : ${{ secrets.CI_TOKEN }}
56
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
55
57
with :
56
58
registry : ${{ env.REGISTRY }}
57
59
username : ${{ github.actor }}
58
- password : ${{ secrets.CI_TOKEN }}
60
+ password : ${{ secrets.GITHUB_TOKEN }}
59
61
60
62
- name : Extract metadata (tags, labels) for Docker
61
63
id : meta
You can’t perform that action at this time.
0 commit comments