From 25e7af66d8a685414f2d762fa7195798f044c154 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Pazos?= Date: Wed, 14 Aug 2024 10:54:56 -0300 Subject: [PATCH] fix fix ifx --- .github/workflows/build-push.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-push.yml b/.github/workflows/build-push.yml index a2a06d5..3f4a3de 100644 --- a/.github/workflows/build-push.yml +++ b/.github/workflows/build-push.yml @@ -24,13 +24,13 @@ jobs: run: | bash scripts/generate-tags.sh > .tag if [ ${{ github.event_name }} == 'push' ]; then - echo "DOCKER_REGISTRY=us-docker.pkg.dev/grafanalabs-dev/docker-influx2cortex-dev" >> $GITHUB_ENV - echo "DOCKER_ENV=dev" >> $GITHUB_ENV - echo "DOCKER_TAGS=$(cat .tag) latest" >> $GITHUB_ENV - else echo "DOCKER_REGISTRY=us-docker.pkg.dev/grafanalabs-global/docker-influx2cortex-prod" >> $GITHUB_ENV echo "DOCKER_ENV=prod" >> $GITHUB_ENV - echo "DOCKER_TAGS=$(cat .tag) notlatest" >> $GITHUB_ENV + echo -e "DOCKER_TAGS=\"$(cat .tag)\nlatest\"" >> $GITHUB_ENV + else + echo "DOCKER_REGISTRY=us-docker.pkg.dev/grafanalabs-dev/docker-influx2cortex-dev" >> $GITHUB_ENV + echo "DOCKER_ENV=dev" >> $GITHUB_ENV + echo -e "DOCKER_TAGS=\"$(cat .tag)\nnotlatest\"" >> $GITHUB_ENV fi - name: Build And Push id: build-and-push