83
83
username : ${{ secrets.DOCKERHUB_USERNAME }}
84
84
password : ${{ secrets.DOCKERHUB_TOKEN }}
85
85
86
+ - name : Login to Docker Hub
87
+ uses : docker/login-action@v3
88
+ with :
89
+ registry : ghcr.io
90
+ username : ${{ github.actor }}
91
+ password : ${{ secrets.GITHUB_TOKEN }}
92
+
86
93
- name : Parse version
87
94
id : parse_version
88
95
run : |
95
102
file : ./distribution/containers/Dockerfile.release
96
103
platforms : linux/amd64,linux/arm64
97
104
push : true
98
- tags : jesec/flood:master
105
+ tags : |
106
+ jesec/flood:master
107
+ ghcr.io/jesec/flood:master
99
108
build-args : |
100
109
PACKAGE=@jesec/flood
101
110
VERSION=${{ steps.parse_version.outputs.BUILD_VERSION }}
@@ -144,6 +153,13 @@ jobs:
144
153
username : ${{ secrets.DOCKERHUB_USERNAME }}
145
154
password : ${{ secrets.DOCKERHUB_TOKEN }}
146
155
156
+ - name : Login to Docker Hub
157
+ uses : docker/login-action@v3
158
+ with :
159
+ registry : ghcr.io
160
+ username : ${{ github.actor }}
161
+ password : ${{ secrets.GITHUB_TOKEN }}
162
+
147
163
- name : Tag rolling release
148
164
run : |
149
165
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
@@ -158,7 +174,9 @@ jobs:
158
174
target : flood
159
175
platforms : linux/amd64,linux/arm64
160
176
push : true
161
- tags : jesec/flood:master-dbg
177
+ tags : |
178
+ jesec/flood:master-dbg
179
+ ghcr.io/jesec/flood:master-dbg
162
180
163
181
- name : Publish rtorrent-flood:master-dbg to Docker Hub
164
182
uses : docker/build-push-action@v5
@@ -168,7 +186,9 @@ jobs:
168
186
target : rtorrent-flood
169
187
platforms : linux/amd64,linux/arm64
170
188
push : true
171
- tags : jesec/rtorrent-flood:master-dbg
189
+ tags : |
190
+ jesec/rtorrent-flood:master-dbg
191
+ ghcr.io/jesec/rtorrent-flood:master-dbg
172
192
173
193
pkg :
174
194
needs : npm
@@ -274,6 +294,13 @@ jobs:
274
294
username : ${{ secrets.DOCKERHUB_USERNAME }}
275
295
password : ${{ secrets.DOCKERHUB_TOKEN }}
276
296
297
+ - name : Login to Docker Hub
298
+ uses : docker/login-action@v3
299
+ with :
300
+ registry : ghcr.io
301
+ username : ${{ github.actor }}
302
+ password : ${{ secrets.GITHUB_TOKEN }}
303
+
277
304
- uses : actions/download-artifact@v4
278
305
with :
279
306
name : flood-linux-arm64
@@ -294,7 +321,9 @@ jobs:
294
321
target : flood
295
322
platforms : linux/amd64,linux/arm64
296
323
push : true
297
- tags : jesec/flood:master-distroless
324
+ tags : |
325
+ jesec/flood:master-distroless
326
+ ghcr.io/jesec/flood:master-distroless
298
327
299
328
- name : Publish rtorrent-flood:master-distroless to Docker Hub
300
329
uses : docker/build-push-action@v5
@@ -304,4 +333,6 @@ jobs:
304
333
target : rtorrent-flood
305
334
platforms : linux/amd64,linux/arm64
306
335
push : true
307
- tags : jesec/rtorrent-flood:master-distroless
336
+ tags : |
337
+ jesec/rtorrent-flood:master-distroless
338
+ ghcr.io/jesec/rtorrent-flood:master-distroless
0 commit comments