Skip to content

Commit

Permalink
fix fix ifx
Browse files Browse the repository at this point in the history
  • Loading branch information
npazosmendez committed Aug 14, 2024
1 parent 9ce2b42 commit 25e7af6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 25e7af6

Please sign in to comment.