diff --git a/.gitlab-ci-build.yml.in b/.gitlab-ci-build.yml.in index 247bf42..c8c1910 100644 --- a/.gitlab-ci-build.yml.in +++ b/.gitlab-ci-build.yml.in @@ -42,7 +42,7 @@ stages: before_script: - packer init sources - echo $COMMAND - - mc alias add storage "localhost:9000" root "$MINIO_SECRET" + - mc alias set storage "localhost:9000" root "$MINIO_SECRET" - mc ls storage/isos/cache - file=$(echo var.iso.url | packer console -var-file="${distro}" -config-type=hcl2 sources/) - mkdir cache diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6deddea..3fcb28d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -72,7 +72,7 @@ downloads: script: - packer init sources - bash cache.sh - - mc alias add storage "localhost:9000" root "$MINIO_SECRET" + - mc alias set storage "localhost:9000" root "$MINIO_SECRET" - | for f in cache/*; do mc put "$f" "storage/isos/$f"