File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -48,14 +48,14 @@ jobs:
48
48
run : make build
49
49
50
50
- name : Build image
51
- run : docker build . --file Dockerfile --tag $IMAGE_NAME
51
+ run : docker build . --file Dockerfile --tag $IMAGE_NAME --label "runnumber=${GITHUB_RUN_ID}"
52
52
53
53
- name : Log into registry
54
- run : echo "${{ secrets.GITHUB_TOKEN }}" | docker login docker.pkg.github.com -u ${{ github.actor }} --password-stdin
54
+ run : echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
55
55
56
56
- name : Push image
57
57
run : |
58
- IMAGE_ID=docker.pkg.github.com /${{ github.repository }}/$IMAGE_NAME
58
+ IMAGE_ID=ghcr.io /${{ github.repository_owner }}/$IMAGE_NAME
59
59
60
60
# Change all uppercase to lowercase
61
61
IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')
You can’t perform that action at this time.
0 commit comments