File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 99
1010env :
1111 REGISTRY : ghcr.io
12- IMAGE_NAME : mcstatusbot
1312
1413jobs :
1514 build-and-push :
2221 - name : Checkout repository
2322 uses : actions/checkout@v3
2423
24+ - name : Set image name lowercase
25+ run : echo "IMAGE_NAME=$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV
26+
2527 - name : Log into registry ${{ env.REGISTRY }}
2628 uses : docker/login-action@v2
2729 with :
4850 id : get_version
4951 run : echo "VERSION=$(cat VERSION)" >> $GITHUB_ENV
5052
53+ - name : Debug image name
54+ run : |
55+ echo "IMAGE_NAME: ${{ env.IMAGE_NAME }}"
56+ echo "REGISTRY: ${{ env.REGISTRY }}"
57+ echo "Full image path: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}"
58+
5159 - name : Build and push Docker image
5260 uses : docker/build-push-action@v3
5361 with :
You can’t perform that action at this time.
0 commit comments