mirror of
https://github.com/ViViDboarder/bitwarden_rs.git
synced 2024-11-22 13:16:39 +00:00
Tag latest releases as latest
and alpine
This commit is contained in:
parent
73f0841f17
commit
4c78c5a9c9
@ -29,13 +29,13 @@ done
|
|||||||
manifest_lists=("${DOCKER_REPO}:${DOCKER_TAG}")
|
manifest_lists=("${DOCKER_REPO}:${DOCKER_TAG}")
|
||||||
|
|
||||||
# If the Docker tag starts with a version number, assume the latest release is
|
# If the Docker tag starts with a version number, assume the latest release is
|
||||||
# being pushed. Add an extra manifest (`latest-release` or `alpine-release`,
|
# being pushed. Add an extra manifest (`latest` or `alpine`, as appropriate)
|
||||||
# as appropriate) to make it easier to track the latest release.
|
# to make it easier for users to track the latest release.
|
||||||
if [[ "${DOCKER_TAG}" =~ ^[0-9]+\.[0-9]+\.[0-9]+ ]]; then
|
if [[ "${DOCKER_TAG}" =~ ^[0-9]+\.[0-9]+\.[0-9]+ ]]; then
|
||||||
if [[ "${DOCKER_TAG}" == *alpine ]]; then
|
if [[ "${DOCKER_TAG}" == *alpine ]]; then
|
||||||
manifest_lists+=(${DOCKER_REPO}:alpine-release)
|
manifest_lists+=(${DOCKER_REPO}:alpine)
|
||||||
else
|
else
|
||||||
manifest_lists+=(${DOCKER_REPO}:latest-release)
|
manifest_lists+=(${DOCKER_REPO}:latest)
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user