Skip to content

Commit

Permalink
load env file
Browse files Browse the repository at this point in the history
  • Loading branch information
2xburnt committed Sep 27, 2024
1 parent c17ed5f commit c9b79aa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ jobs:
type=semver,pattern={{version}},enable=${{ github.event_name == 'push' }}
type=raw,value=latest,enable={{is_default_branch}}
- name: Setup env
uses: c-py/action-dotenv-to-setenv@v3
with:
env-file: /home/runner/_work/goreleaser-cross/goreleaser-cross/.env

- name: Build and push by digest
id: build
uses: docker/build-push-action@v5
Expand Down

0 comments on commit c9b79aa

Please sign in to comment.