File tree 1 file changed +7
-6
lines changed
1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,8 @@ permissions:
11
11
12
12
env :
13
13
REGISTRY : ghcr.io
14
- APP_NAME : ${{ github.repository }}
14
+ IMAGE : ${{ github.repository }}
15
+ APP_NAME : github-actions-exporter
15
16
16
17
jobs :
17
18
build :
53
54
54
55
- name : Docker meta
55
56
id : meta
56
- uses : docker/metadata-action@v3
57
+ uses : docker/metadata-action@v5
57
58
with :
58
- images : ${{ env.REGISTRY }}/${{ env.APP_NAME }}
59
+ images : ${{ env.REGISTRY }}/${{ env.IMAGE }}
59
60
tags : |
60
61
type=ref,event=branch
61
62
type=ref,event=pr
@@ -65,15 +66,15 @@ jobs:
65
66
type=sha
66
67
67
68
- name : Log in to GitHub Container Registry
68
- uses : docker/login-action@v2
69
+ uses : docker/login-action@v3
69
70
if : github.event_name != 'pull_request'
70
71
with :
71
72
registry : ${{ env.REGISTRY }}
72
73
username : ${{ github.actor }}
73
- password : ${{ secrets.GH_TOKEN }}
74
+ password : ${{ secrets.GITHUB_TOKEN }}
74
75
75
76
- name : Build and push
76
- uses : docker/build-push-action@v4
77
+ uses : docker/build-push-action@v5
77
78
with :
78
79
context : .
79
80
file : ./Dockerfile
You can’t perform that action at this time.
0 commit comments