File tree 1 file changed +7
-4
lines changed
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 20
20
# Use docker.io for Docker Hub if empty
21
21
REGISTRY : ghcr.io
22
22
# github.repository as <account>/<repo>
23
- IMAGE_NAME : ${{ github.repository }}
23
+ # IMAGE_NAME: ${{ github.repository }}
24
24
25
25
26
26
jobs :
45
45
password : ${{ secrets.GITHUB_TOKEN }}
46
46
47
47
48
+ - id : imagename
49
+ uses : ASzc/change-string-case-action@v2
50
+ with :
51
+ string : ${{ github.repository }}
52
+
48
53
# Build and push Docker image with Buildx (don't push on PR)
49
54
# https://github.com/docker/build-push-action
50
55
- name : Build and push Docker image
54
59
context : ./image-updater/source-code
55
60
file : ./image-updater/source-code/Dockerfile
56
61
push : true
57
- tags : ghcr.io/${{ github.repository }}:${{ inputs.docker_tag }}
58
-
59
-
62
+ tags : ghcr.io/${{ steps.imagename.outputs.lowercase }}:${{ inputs.docker_tag }}
60
63
You can’t perform that action at this time.
0 commit comments