File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,8 @@ permissions:
1111
1212env :
1313 REGISTRY : ghcr.io
14- APP_NAME : ${{ github.repository }}
14+ IMAGE : ${{ github.repository }}
15+ APP_NAME : github-actions-exporter
1516
1617jobs :
1718 build :
5354
5455 - name : Docker meta
5556 id : meta
56- uses : docker/metadata-action@v3
57+ uses : docker/metadata-action@v5
5758 with :
58- images : ${{ env.REGISTRY }}/${{ env.APP_NAME }}
59+ images : ${{ env.REGISTRY }}/${{ env.IMAGE }}
5960 tags : |
6061 type=ref,event=branch
6162 type=ref,event=pr
@@ -65,15 +66,15 @@ jobs:
6566 type=sha
6667
6768 - name : Log in to GitHub Container Registry
68- uses : docker/login-action@v2
69+ uses : docker/login-action@v3
6970 if : github.event_name != 'pull_request'
7071 with :
7172 registry : ${{ env.REGISTRY }}
7273 username : ${{ github.actor }}
73- password : ${{ secrets.GH_TOKEN }}
74+ password : ${{ secrets.GITHUB_TOKEN }}
7475
7576 - name : Build and push
76- uses : docker/build-push-action@v4
77+ uses : docker/build-push-action@v5
7778 with :
7879 context : .
7980 file : ./Dockerfile
You can’t perform that action at this time.
0 commit comments