Skip to content

Commit

Permalink
change env var
Browse files Browse the repository at this point in the history
  • Loading branch information
fzhao99 committed Oct 16, 2024
1 parent f511202 commit f64df9c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,10 @@ jobs:
env:
REPO: ${{github.repository}}
run: |
echo "REPO=${GITHUB_REPOSITORY@L}} >>${GITHUB_ENV}"
echo "REPO=${GITHUB_REPOSITORY@L}}>>${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/${REPO}/query-connector:main, ghcr.io/${REPO}/query-connector:latest

0 comments on commit f64df9c

Please sign in to comment.