File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -15,11 +15,17 @@ jobs:
1515 build-and-push :
1616 runs-on : ubuntu-latest
1717 steps :
18- # 1. Checks-out your repository
18+
19+ # Needed for 'GEANT'...
20+ - name : Set lower case repository
21+ run : |
22+ echo LC_REPO="${REPO,,}" >>${GITHUB_ENV}
23+ env :
24+ REPO : ' ${{ github.repository }}'
25+
1926 - name : Checkout code
2027 uses : actions/checkout@v4
2128
22- # 2. Logs in to the GitHub Container Registry (GHCR)
2329 # Uses the automatically generated GITHUB_TOKEN for authentication
2430 - name : Log in to GHCR
2531 uses : docker/login-action@v3
@@ -28,11 +34,11 @@ jobs:
2834 username : ${{ github.actor }}
2935 password : ${{ secrets.GITHUB_TOKEN }}
3036
31- # 3. Builds and pushes the Docker image to GHCR
37+ # Builds and pushes the Docker image to GHCR
3238 # The image name is dynamically set to ghcr.io/OWNER/REPO_NAME
3339 - name : Build and push Docker image
3440 uses : docker/build-push-action@v5
3541 with :
3642 context : .
3743 push : true
38- tags : ghcr.io/${{ github.repository }}:latest
44+ tags : ghcr.io/${{ env.LC_REPO }}:latest
You can’t perform that action at this time.
0 commit comments