From 9cf56f635fd9303d8affc797c8ad7a37a3c1935b Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Fri, 21 Jun 2024 11:27:59 -0500 Subject: [PATCH] Correct the writing of files --- .gitlab-ci-build.yml.in | 2 +- .gitlab-ci.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"