File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 9
9
deploy :
10
10
runs-on : ubuntu-latest
11
11
env :
12
- GITHUB_REPOSITORY : ghcr.io/${{ github.repository }}
12
+ REGISTRY : ghcr.io/${{ github.repository }}
13
13
permissions :
14
14
contents : read
15
15
packages : write
@@ -32,13 +32,13 @@ jobs:
32
32
password : ${{ secrets.GITHUB_TOKEN }}
33
33
34
34
- name : Tag image for github container repository with commit SHA
35
- run : ' docker tag controller:latest $GITHUB_REPOSITORY :$GITHUB_SHA'
35
+ run : ' docker tag controller:latest $REGISTRY :$GITHUB_SHA'
36
36
37
37
- name : Push image for github container repository with commit SHA
38
- run : ' docker push $GITHUB_REPOSITORY :$GITHUB_SHA'
38
+ run : ' docker push $REGISTRY :$GITHUB_SHA'
39
39
40
40
- name : Tag image for github container repository with latest
41
- run : ' docker tag controller:latest $GITHUB_REPOSITORY :latest'
41
+ run : ' docker tag controller:latest $REGISTRY :latest'
42
42
43
43
- name : Push image for github container repository with latest
44
- run : ' docker push $GITHUB_REPOSITORY :latest'
44
+ run : ' docker push $REGISTRY :latest'
You can’t perform that action at this time.
0 commit comments