File tree Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -10,19 +10,22 @@ jobs:
1010 runs-on : ubuntu-latest
1111
1212 steps :
13- - uses : actions/checkout@v3
13+ - uses : actions/checkout@v4
1414
15- - uses : docker/setup-buildx-action@v2
15+ - uses : docker/setup-buildx-action@v3
1616
17- - uses : docker/login-action@v2
17+ - name : Log in to GitHub Container Registry
18+ uses : docker/login-action@v3
1819 with :
19- username : ${{ secrets.DOCKER_USERNAME }}
20- password : ${{ secrets.DOCKER_PASSWORD }}
20+ registry : ghcr.io
21+ username : ${{ github.actor }}
22+ password : ${{ secrets.GITHUB_TOKEN }}
2123
22- - uses : docker/build-push-action@v2
24+ - name : Build and push
25+ uses : docker/build-push-action@v6
2326 with :
2427 context : .
2528 push : true
26- cache-from : hexletcomponents/data-charts-api :latest
29+ cache-from : ghcr.io/${{ github.repository }} :latest
2730 cache-to : type=inline
28- tags : hexletcomponents/data-charts-api :latest
31+ tags : ghcr.io/${{ github.repository }} :latest
You can’t perform that action at this time.
0 commit comments