Skip to content

Commit f7a8d6c

Browse files
committed
feat: update version
1 parent 2506687 commit f7a8d6c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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: |

0 commit comments

Comments
 (0)