Added per-branch 'latest' OCI tag for buildable branches.
This commit is contained in:
1 parent
2c38f327e4
commit
6fa4b8cbda
2 files changed
+1
-7
No files matched your search
@@ -31,12 +31,7 @@ case "${INPUT_IMAGE_NAME}" in
|
||||
esac
|
||||
|
||||
workdir="${PWD}/repo"
|
||||
sha_tag="${INPUT_GIT_SHA}"
|
||||
latest_tag="latest"
|
||||
local_image="localbuild:${INPUT_IMAGE_TAG}"
|
||||
remote_image="${INPUT_REGISTRY}/${INPUT_IMAGE_NAME}:${INPUT_IMAGE_TAG}"
|
||||
remote_image_sha="${INPUT_REGISTRY}/${INPUT_IMAGE_NAME}:${sha_tag}"
|
||||
remote_image_latest="${INPUT_REGISTRY}/${INPUT_IMAGE_NAME}:${latest_tag}"
|
||||
|
||||
rm -rf "${workdir}"
|
||||
mkdir -p "${workdir}"
|
||||
|
||||
Reference in new issue
Block a user