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 41b560c commit d03683fCopy full SHA for d03683f
.github/workflows/build-docker-image.yml
@@ -21,11 +21,14 @@ jobs:
21
- name: Checkout repository
22
uses: actions/checkout@v4
23
24
- - name: Docker metadata
+ - name: Set image name
25
+ run: echo "IMAGE=ghcr.io/${GITHUB_REPOSITORY,,}" >> $GITHUB_ENV
26
+
27
+ - name: Set Docker metadata
28
id: meta
29
uses: docker/metadata-action@v5
30
with:
- images: ghcr.io/${{ toLower(github.repository) }}
31
+ images: ${{ env.IMAGE }}
32
tags: |
33
type=raw,value=latest,enable={{is_default_branch}}
34
type=sha
0 commit comments