fix: version tag
This commit is contained in:
parent
762be54a37
commit
4aefcaea14
1 changed files with 5 additions and 2 deletions
7
.github/workflows/build-singbox-docker.yml
vendored
7
.github/workflows/build-singbox-docker.yml
vendored
|
@ -70,11 +70,14 @@ jobs:
|
|||
- name: Get tag to build
|
||||
id: tag
|
||||
run: |
|
||||
echo "latest=etnperlong/sing-box:latest" >> $GITHUB_OUTPUT
|
||||
if [[ "${{ matrix.distro }}" == "alpine" && "${{ matrix.buildType }}" == "standard" ]]; then
|
||||
latest="etnperlong/sing-box:latest"
|
||||
echo "latest=$latest" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
if [[ -z "${{ github.event.inputs.tag }}" ]]; then
|
||||
echo "versioned=etnperlong/sing-box:${{ github.ref_name }}" >> $GITHUB_OUTPUT
|
||||
else
|
||||
if [[ -z "${{ steps.dockerfile.outputs.tagpost }}" ]]; then
|
||||
if [[ -n "${{ steps.dockerfile.outputs.tagpost }}" ]]; then
|
||||
echo "versioned=etnperlong/sing-box:${{ github.event.inputs.tag }}-${{ steps.dockerfile.outputs.tagpost }}" >> $GITHUB_OUTPUT
|
||||
else
|
||||
echo "versioned=etnperlong/sing-box:${{ github.event.inputs.tag }}" >> $GITHUB_OUTPUT
|
||||
|
|
Loading…
Reference in a new issue