File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -28,20 +28,22 @@ jobs:
2828 if : ${{ github.event_name == 'push' }}
2929
3030 steps :
31- - uses : actions/checkout@v2
31+ - uses : actions/checkout@v4
3232
33- - uses : docker/setup-buildx-action@v2
33+ - uses : docker/setup-buildx-action@v3
3434
35- - uses : docker/login-action@v2
35+ - name : Log in to GitHub Container Registry
36+ uses : docker/login-action@v3
3637 with :
37- username : ${{ secrets.DOCKER_USERNAME }}
38- password : ${{ secrets.DOCKER_PASSWORD }}
38+ registry : ghcr.io
39+ username : ${{ github.actor }}
40+ password : ${{ secrets.GITHUB_TOKEN }}
3941
40- - uses : docker/build-push-action@v3
42+ - name : Build and push
43+ uses : docker/build-push-action@v6
4144 with :
4245 context : .
4346 push : true
44- file : Dockerfile.app
45- cache-from : hexletcomponents/software-lifecycle-unstable-app:latest
47+ cache-from : ghcr.io/${{ github.repository }}:latest
4648 cache-to : type=inline
47- tags : hexletcomponents/software-lifecycle-unstable-app :latest
49+ tags : ghcr.io/${{ github.repository }} :latest
You can’t perform that action at this time.
0 commit comments