Compare commits
4 Commits
6843da9fa3
...
5d47d83ea5
Author | SHA1 | Date |
---|---|---|
|
5d47d83ea5 | |
|
2bb1c6a297 | |
|
9b9736ab8b | |
|
333907913d |
|
@ -3,8 +3,3 @@
|
||||||
tag_name() {
|
tag_name() {
|
||||||
echo "$1" | sed -e 's/[^a-zA-Z0-9._-]/-/g' -e 's/^[.-]/_/'
|
echo "$1" | sed -e 's/[^a-zA-Z0-9._-]/-/g' -e 's/^[.-]/_/'
|
||||||
}
|
}
|
||||||
|
|
||||||
push() {
|
|
||||||
tag=$(tag_name $1)
|
|
||||||
podman push hudctrl:${BUILD_TAG} registry.pyrocufflink.blue/hudctrl:${tag}
|
|
||||||
}
|
|
||||||
|
|
|
@ -2,6 +2,11 @@
|
||||||
|
|
||||||
. ci/container-common.sh
|
. ci/container-common.sh
|
||||||
|
|
||||||
|
push() {
|
||||||
|
tag=$(tag_name $1)
|
||||||
|
podman push hudctrl:$(tag_name ${BUILD_TAG}) registry.pyrocufflink.blue/hudctrl:${tag}
|
||||||
|
}
|
||||||
|
|
||||||
push ${BUILD_TAG}
|
push ${BUILD_TAG}
|
||||||
push ${BRANCH_NAME}
|
push ${BRANCH_NAME}
|
||||||
if [ "${BRANCH_NAME}" = master ]; then
|
if [ "${BRANCH_NAME}" = master ]; then
|
||||||
|
|
Loading…
Reference in New Issue