File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ name: Nightly Publish
2
2
3
3
permissions :
4
4
contents : read
5
+ packages : write
5
6
6
7
on :
7
8
push :
@@ -69,12 +70,12 @@ jobs:
69
70
- uses : actions/checkout@v4
70
71
- uses : docker/setup-qemu-action@v3
71
72
- uses : docker/setup-buildx-action@v3
72
- # - uses: docker/login-action@v3
73
- # if: github.event_name != 'pull_request'
74
- # with:
75
- # registry: ghcr.io
76
- # username: ${{ github.actor }}
77
- # password: ${{ secrets.GITHUB_TOKEN }}
73
+ - uses : docker/login-action@v3
74
+ if : github.event_name != 'pull_request'
75
+ with :
76
+ registry : ghcr.io
77
+ username : rust-lang
78
+ password : ${{ secrets.GITHUB_TOKEN }}
78
79
79
80
- uses : docker/login-action@v3
80
81
if : github.event_name != 'pull_request'
87
88
with :
88
89
images : |
89
90
rustlang/rust
90
- # ghcr.io/rust-lang/rust
91
+ ghcr.io/rust-lang/rust
91
92
tags : ${{ matrix.tags }}
92
93
93
94
- uses : docker/build-push-action@v5
96
97
platforms : ${{ matrix.platforms }}
97
98
push : ${{ github.event_name != 'pull_request' }}
98
99
tags : ${{ steps.meta.outputs.tags }}
99
- labels : ${{ steps.meta.outputs.labels }}
100
+ labels : ${{ steps.meta.outputs.labels }}
You can’t perform that action at this time.
0 commit comments