Skip to content

Commit

Permalink
Don't use external action for setting CQ_CLI env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
AshCorr committed Apr 17, 2024
1 parent 4082eba commit 898964a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/cq-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,12 @@ jobs:
tags: |
type=sha,format=long
- name: Load .env file
uses: xom9ikk/dotenv@ac290ca23a42155a0cba1031d23afa46240116a9 # v2.3.0
- name: Set CQ_CLI Github Env variable from .env
run: |
source .env
echo "CQ_CLI=${CQ_CLI}" >> "$GITHUB_ENV"
- name: Echo CQ_VERSION
- name: Echo CQ_CLI
run: echo ${{ env.CQ_CLI }}

- name: Build and push Docker image
Expand Down

0 comments on commit 898964a

Please sign in to comment.