Update build.yml

This commit is contained in:
badblocks 2024-04-22 14:40:03 -07:00 committed by GitHub
parent a5c89c7354
commit 7fba1abe27
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -55,17 +55,14 @@ jobs:
if [[ ${{ github.ref_name }} == "unstable" ]]; then
BUILD_TAGS+=("${MAJOR_VERSION}-unstable" "${MAJOR_VERSION}-unstable-${TIMESTAMP}")
BUILD_TAGS+=("unstable")
fi
elif [[ ${{ github.ref_name }} == "testing" ]]; then
BUILD_TAGS+=("${MAJOR_VERSION}-testing" "${MAJOR_VERSION}-testing-${TIMESTAMP}")
BUILD_TAGS+=("testing")
fi
else
BUILD_TAGS+=("${MAJOR_VERSION}" "${MAJOR_VERSION}-${TIMESTAMP}")
BUILD_TAGS+=("${MAJOR_VERSION}-stable" "${MAJOR_VERSION}-stable-${TIMESTAMP}")
BUILD_TAGS+=("latest" "stable")
fi
fi
BUILD_TAGS+=("${TIMESTAMP}")