File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -21,15 +21,15 @@ jobs:
2121 - name : Log in to GHCR using GITHUB_TOKEN
2222 run : echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
2323
24- - name : Extract tag or fallback to latest
24+ - name : Extract tag and repo name
2525 id : meta
2626 run : |
2727 REF=${GITHUB_REF##*/}
2828 if [[ "${GITHUB_REF}" == refs/heads/* ]]; then
2929 REF=latest
3030 fi
31- echo "tag=$(echo $REF | tr '[:upper:]' '[:lower:]')" >> $GITHUB_OUTPUT
32- echo "repo=$(echo ${{ github.event.repository.name }} | tr '[:upper:]' '[:lower:]')" >> $GITHUB_OUTPUT
31+ echo "tag=$(echo $REF | tr '[:upper:]' '[:lower:]')" >> " $GITHUB_OUTPUT"
32+ echo "repo=$(echo '${GITHUB_REPOSITORY##*/}' | tr '[:upper:]' '[:lower:]')" >> " $GITHUB_OUTPUT"
3333
3434 - name : Build Docker image
3535 run : |
You can’t perform that action at this time.
0 commit comments