File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 17
17
required : true
18
18
19
19
secrets :
20
- GITHUB_TOKEN :
20
+ GH_TOKEN :
21
21
description : ' Your github access token'
22
22
required : true
23
23
26
26
27
27
jobs :
28
28
build-and-push-image :
29
+ name : Push Docker image (${{ inputs.image_name }})
30
+
29
31
runs-on : ubuntu-24.04
30
32
31
33
permissions :
@@ -35,14 +37,15 @@ jobs:
35
37
id-token : write
36
38
37
39
steps :
40
+
38
41
- name : Checkout repository
39
42
uses : actions/checkout@v4
40
43
- name : Log in to the Container registry
41
44
uses : docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
42
45
with :
43
46
registry : ${{ env.REGISTRY }}
44
47
username : ${{ github.actor }}
45
- password : ${{ secrets.GITHUB_TOKEN }}
48
+ password : ${{ secrets.GH_TOKEN }}
46
49
47
50
- name : Extract metadata (tags, labels) for Docker
48
51
id : meta
Original file line number Diff line number Diff line change 31
31
32
32
uses : ./.github/workflows/ghcr-publish.yml
33
33
secrets :
34
- GITHUB_TOKEN: : ${{ secrets.GITHUB_TOKEN }}
34
+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
35
35
with :
36
36
image_name : ' qproxy'
37
37
context : ' ./proxy'
69
69
70
70
uses : ./.github/workflows/ghcr-publish.yml
71
71
secrets :
72
- GITHUB_TOKEN: : ${{ secrets.GITHUB_TOKEN }}
72
+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
73
73
with :
74
74
image_name : ' qdb'
75
75
context : ' ./server/database'
@@ -106,7 +106,7 @@ jobs:
106
106
107
107
uses : ./.github/workflows/ghcr-publish.yml
108
108
secrets :
109
- GITHUB_TOKEN: : ${{ secrets.GITHUB_TOKEN }}
109
+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
110
110
with :
111
111
image_name : ' qJobsServer'
112
112
context : ' ./server'
@@ -142,7 +142,7 @@ jobs:
142
142
143
143
uses : ./.github/workflows/ghcr-publish.yml
144
144
secrets :
145
- GITHUB_TOKEN: : ${{ secrets.GITHUB_TOKEN }}
145
+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
146
146
with :
147
147
image_name : ' qApi'
148
148
context : ' ./server'
@@ -178,7 +178,7 @@ jobs:
178
178
179
179
uses : ./.github/workflows/ghcr-publish.yml
180
180
secrets :
181
- GITHUB_TOKEN: : ${{ secrets.GITHUB_TOKEN }}
181
+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
182
182
with :
183
183
image_name : ' qWorker'
184
184
context : ' ./server/worker'
You can’t perform that action at this time.
0 commit comments