File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -301,11 +301,19 @@ jobs:
301301 fcos-image :
302302 needs : [ release ]
303303 runs-on : ubuntu-latest
304+ permissions :
305+ packages : write
304306 if : github.ref_type == 'tag'
305307 env :
306308 GH_TOKEN : ${{ github.token }}
307309 steps :
308310 - uses : actions/checkout@v4
311+ - name : Log in to the Container registry
312+ uses : docker/login-action@v3
313+ with :
314+ registry : https://ghcr.io
315+ username : ${{ github.actor }}
316+ password : ${{ secrets.GITHUB_TOKEN }}
309317 - name : Docker meta
310318 id : meta
311319 uses : docker/metadata-action@v5 # see https://github.com/docker/metadata-action
@@ -329,7 +337,7 @@ jobs:
329337 # Since we need the cargo workspace, we need to make the repo root the context
330338 context : ./images/fcos-skate
331339 push : true
332- # build-args: VERSION=${{ github.ref_name }}
340+ build-args : VERSION=${{ github.ref_name }}
333341 tags : ${{ steps.meta.outputs.tags }}
334342 labels : ${{ steps.meta.outputs.labels }}
335343 file : ./images/fcos-skate/ContainerFile
You can’t perform that action at this time.
0 commit comments