We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47805ca commit 40d0506Copy full SHA for 40d0506
.github/workflows/docker-image.yml
@@ -27,12 +27,16 @@ jobs:
27
username: ${{ github.repository_owner }}
28
password: ${{ secrets.GITHUB_TOKEN }}
29
30
+ - name: Set lowercase repository name
31
+ run: |
32
+ echo "REPO_LOWER=${GITHUB_REPOSITORY,,}" >> $GITHUB_ENV
33
+
34
- name: Build and push Docker image
35
id: docker_build
36
uses: docker/build-push-action@v6
37
with:
38
context: .
39
push: true
- tags: ghcr.io/${{ github.repository | toLower }}:latest
40
+ tags: ghcr.io/${{ env.REPO_LOWER }}:latest
41
cache-from: type=gha
42
cache-to: type=gha,mode=max
0 commit comments