From 5a942fb3528757d4076df5273ac77b993a739468 Mon Sep 17 00:00:00 2001 From: Wouter Deconinck <wdconinc@gmail.com> Date: Thu, 24 Aug 2023 02:05:58 +0000 Subject: [PATCH] fix: rm mirrors job again (leaks credentials) --- .gitlab-ci.yml | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d99c6a9e8..a6ce05b17 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -233,19 +233,6 @@ base: --build-arg BUILD_IMAGE=${BUILD_IMAGE} containers/debian -mirrors: - stage: config - script: - - apk add envsubst - - | - source spack.sh - source eic-spack.sh - export SPACK_VERSION - cat mirrors.yaml.in | envsubst > mirrors.yaml - artifacts: - paths: - - mirrors.yaml - jug_dev: parallel: matrix: @@ -274,14 +261,16 @@ jug_dev: stage: jug needs: - version - - mirrors - base script: - if [ "${BUILD_TYPE}" == "nightly" ] ; then IF_BUILD_NIGHTLY=1 ; fi - if [ "${BUILD_TYPE}" == "default" ] ; then IF_BUILD_DEFAULT=1 ; fi + - apk add envsubst - source spack.sh ; source eic-spack.sh ; - docker buildx build --push ${BUILD_OPTIONS} + export SPACK_VERSION ; + cat mirrors.yaml.in | envsubst > mirrors.yaml + - docker buildx build --push ${BUILD_OPTIONS} --tag ${CI_REGISTRY}/${CI_PROJECT_PATH}/${BUILD_IMAGE}${ENV}:${INTERNAL_TAG}-${BUILD_TYPE} ${EXPORT_TAG:+ ${CI_PUSH:+--tag ${CI_REGISTRY}/${CI_PROJECT_PATH}/${BUILD_IMAGE}${ENV}:${EXPORT_TAG}-${BUILD_TYPE}} -- GitLab