diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7f93a15..bd70ca4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -29,9 +29,9 @@ migrate: build: stage: build script: - - ./build.sh + - ./build.sh "$DEVUAN_SUITE" derive: stage: derive script: - - ./derive.sh + - ./derive.sh "$DEVUAN_SUITE" diff --git a/build.sh b/build.sh index ad8b736..1691511 100755 --- a/build.sh +++ b/build.sh @@ -5,7 +5,7 @@ # License: GPL-3.0+ MIGRATED_IMAGE=$CI_REGISTRY_IMAGE/debian-$DEBIAN_VERSION/migrated -SUITE=$DEVUAN_SUITE +SUITE=$1 rm -rf rootfs || true diff --git a/derive.sh b/derive.sh index da9d53e..3610f98 100755 --- a/derive.sh +++ b/derive.sh @@ -4,7 +4,7 @@ # # License: GPL-3.0+ -SUITE=$DEVUAN_SUITE +SUITE=$1 BASE_IMAGE=$CI_REGISTRY_IMAGE:$SUITE IMAGE=$CI_REGISTRY_IMAGE/builder