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 5050 - test
5151 - lint
5252 if : github.event_name != 'pull_request'
53+ permissions :
54+ packages : write
5355
5456 steps :
5557 - uses : actions/checkout@v2
@@ -74,14 +76,14 @@ jobs:
7476 echo ::set-output name=created::$(date -u +'%Y-%m-%dT%H:%M:%SZ')
7577 - name : Set up Docker Buildx
7678 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
7981 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 }}
8385 - name : Build and push
84- uses : docker/build-push-action@v2
86+ uses : docker/build-push-action@v4
8587 with :
8688 context : .
8789 file : ./Dockerfile
You can’t perform that action at this time.
0 commit comments