Skip to content

Commit

Permalink
Merge pull request #19 from hanazuki/ci-release
Browse files Browse the repository at this point in the history
ci: fix release workflow
  • Loading branch information
hanazuki committed Dec 23, 2023
2 parents 87a71a5 + 684954a commit aae94d0
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,15 @@ jobs:
tags=ghcr.io/${GITHUB_REPOSITORY}:testing
elif [[ $GITHUB_REF == refs/tags/v* ]]; then
push=true
tags=ghcr.io/${GITHUB_REPOSITORY}:${GITHUB_REF#refs/tags/v}%0Aghcr.io/${GITHUB_REPOSITORY}:latest
tags=$'ghcr.io/${GITHUB_REPOSITORY}:${GITHUB_REF#refs/tags/v}\nghcr.io/${GITHUB_REPOSITORY}:latest'
fi
fi
(
echo "push=$push"
echo "tags=$tags"
) >> $GITHUB_OUTPUT
cat <<EOF >>$GITHUB_OUTPUT
push=$push
tags<<TAGS
$tags
TAGS
EOF
- uses: docker/setup-qemu-action@v2
- uses: docker/setup-buildx-action@v2
- uses: docker/login-action@v2
Expand Down

0 comments on commit aae94d0

Please sign in to comment.