File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change 50
50
- test
51
51
- lint
52
52
if : github.event_name != 'pull_request'
53
+ permissions :
54
+ packages : write
53
55
54
56
steps :
55
57
- uses : actions/checkout@v2
@@ -74,14 +76,14 @@ jobs:
74
76
echo ::set-output name=created::$(date -u +'%Y-%m-%dT%H:%M:%SZ')
75
77
- name : Set up Docker Buildx
76
78
uses : docker/setup-buildx-action@v1
77
- - name : Login to Github Container Registry
78
- uses : docker/login-action@v1
79
+ - name : Login to GitHub Container Registry
80
+ uses : docker/login-action@v3
79
81
with :
80
- registry : ghcr.io
81
- username : ${{ github.repository_owner }}
82
- password : ${{ secrets.GHCR_PAT }}
82
+ registry : ghcr.io
83
+ username : ${{ github.actor }}
84
+ password : ${{ secrets.GITHUB_TOKEN }}
83
85
- name : Build and push
84
- uses : docker/build-push-action@v2
86
+ uses : docker/build-push-action@v4
85
87
with :
86
88
context : .
87
89
file : ./Dockerfile
You can’t perform that action at this time.
0 commit comments