Compare commits
4 Commits
9334160e89
...
6843da9fa3
Author | SHA1 | Date |
---|---|---|
|
6843da9fa3 | |
|
9433d4273d | |
|
6e53569d7a | |
|
396f26277f |
|
@ -1,5 +1,7 @@
|
|||
#!/bin/sh -ex
|
||||
|
||||
. ci/container-common.sh
|
||||
|
||||
cp -r svc/dist container/wheels
|
||||
cp -r ui/dist container/ui
|
||||
podman build -t hudctrl:${BUILD_TAG} container
|
||||
podman build -t hudctrl:$(tag_name ${BUILD_TAG}) container
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
# shellcheck: shell=sh
|
||||
|
||||
tag_name() {
|
||||
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}
|
||||
}
|
|
@ -1,9 +1,6 @@
|
|||
#!/bin/sh -ex
|
||||
|
||||
push() {
|
||||
tag=$(echo "$1" | sed -e 's/[^a-zA-Z0-9._-]/-/g' -e 's/^[.-]/_/')
|
||||
podman push hudctrl:${BUILD_TAG} registry.pyrocufflink.blue/hudctrl:${tag}
|
||||
}
|
||||
. ci/container-common.sh
|
||||
|
||||
push ${BUILD_TAG}
|
||||
push ${BRANCH_NAME}
|
||||
|
|
Loading…
Reference in New Issue