Skip to content

Commit

Permalink
use GHA to load .env
Browse files Browse the repository at this point in the history
  • Loading branch information
NovemberTang committed Apr 16, 2024
1 parent b79af75 commit f40e2d3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/cq-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ jobs:
tags: |
type=sha,format=long
- name: Load local .env file
run: |
set -a
source .env
echo $CQ_VERSION
- name: Load .env file
uses: xom9ikk/dotenv@ac290ca23a42155a0cba1031d23afa46240116a9 # v2.3.0

- name: Echo CQ_VERSION
run: echo $CQ_VERSION

- name: Build and push Docker image
uses: docker/build-push-action@v5
Expand Down

0 comments on commit f40e2d3

Please sign in to comment.