forked from alt/image-forge
chore: update versions
This commit is contained in:
parent
e08e730f2a
commit
a43eb4be60
@ -17,6 +17,7 @@ REGISTRY=${1:-"gitea.basealt.ru"}
|
||||
ORGANIZATION=${2:-"k8s-sisyphus"}
|
||||
BRANCH=${3:-"sisyphus"}
|
||||
|
||||
shift 3
|
||||
|
||||
function build() {
|
||||
./build.py \
|
||||
@ -26,7 +27,8 @@ function build() {
|
||||
--overwrite-organization $ORGANIZATION \
|
||||
--images k8s/kube-apiserver k8s/kube-controller-manager k8s/kube-scheduler k8s/kube-proxy \
|
||||
--tags tags.toml \
|
||||
--skip-stages push
|
||||
--skip-stages push \
|
||||
"$@"
|
||||
}
|
||||
|
||||
|
||||
@ -36,8 +38,8 @@ if test "$BRANCH" == "p10"; then
|
||||
fi
|
||||
|
||||
|
||||
for version in 1.22.17 1.23.17 1.24.17 1.25.16 1.26.11; do
|
||||
for version in 1.22.17 1.23.17 1.24.17 1.25.16 1.26.14 1.27.11 1.28.7; do
|
||||
sed -i "s/kubernetes.*-/kubernetes${version::4}-/g" org/k8s/kube-*/*
|
||||
sed -i "s/sisyphus = \[ \"v.*\" \]/sisyphus = \[ \"v$version\" \]/g" tags.toml
|
||||
build
|
||||
build "$@"
|
||||
done
|
||||
|
@ -17,6 +17,7 @@ REGISTRY=${1:-"gitea.basealt.ru"}
|
||||
ORGANIZATION=${2:-"k8s-sisyphus"}
|
||||
BRANCH=${3:-"sisyphus"}
|
||||
|
||||
shift 3
|
||||
|
||||
function push() {
|
||||
./build.py \
|
||||
@ -26,7 +27,8 @@ function push() {
|
||||
--overwrite-organization $ORGANIZATION \
|
||||
--images k8s/kube-apiserver k8s/kube-controller-manager k8s/kube-scheduler k8s/kube-proxy \
|
||||
--tags tags.toml \
|
||||
--stages push
|
||||
--stages push \
|
||||
"$@"
|
||||
}
|
||||
|
||||
|
||||
@ -36,8 +38,8 @@ if test "$BRANCH" == "p10"; then
|
||||
fi
|
||||
|
||||
|
||||
for version in 1.22.17 1.23.17 1.24.17 1.25.16 1.26.11; do
|
||||
for version in 1.22.17 1.23.17 1.24.17 1.25.16 1.26.14 1.27.11 1.28.7; do
|
||||
sed -i "s/kubernetes.*-/kubernetes${version::4}-/g" org/k8s/kube-*/*
|
||||
sed -i "s/sisyphus = \[ \"v.*\" \]/sisyphus = \[ \"v$version\" \]/g" tags.toml
|
||||
push
|
||||
push "$@"
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user