From 8265cf7386cda4e02edb348eacd4d5985892087b Mon Sep 17 00:00:00 2001 From: Bob Zhao Date: Wed, 16 Oct 2024 16:17:47 -0400 Subject: [PATCH] try putting things into the env --- .github/workflows/cd.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index e73d1e607..6e907f625 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -37,12 +37,14 @@ jobs: - name: lowercase repo name to use in following step env: - REPO: ${{github.repository}} + REPO: ${{ github.repository }} run: | - echo "REPO=${GITHUB_REPOSITORY@L}>> $GITHUB_ENV" + echo "REPO=${GITHUB_REPOSITORY,,}" >> $GITHUB_ENV + - name: Build and push uses: docker/build-push-action@v3 with: context: ./query-connector push: true - tags: ghcr.io/${{ env.REPO }}/query-connector:main, ghcr.io/${{ env.REPO }}/query-connector:latest + tags: | + ghcr.io/${{ env.REPO }}/query-connector:main, ghcr.io/${{ env.REPO }}/query-connector:latest