Skip to content

Commit

Permalink
chore: add env vars to frontend gha
Browse files Browse the repository at this point in the history
  • Loading branch information
wantedsystem committed Apr 11, 2024
1 parent 584b152 commit 391c86f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- main
release:
types:
- released
- released

jobs:
publish:
Expand Down Expand Up @@ -40,11 +40,14 @@ jobs:
uses: docker/setup-buildx-action@v2

- name: Docker Image Build and Publish
env:
NEXT_PUBLIC_BASE_DOMAIN: ${{ secrets.NEXT_PUBLIC_BASE_DOMAIN }}
NEXT_PUBLIC_ALCHEMY_KEY: ${{ secrets.NEXT_PUBLIC_ALCHEMY_KEY }}
if: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') }}
uses: docker/build-push-action@v4
with:
context: ./
file: ./Dockerfile
push: true
tags: consensys/linea-resolver:${{ env.DOCKER_TAG }}
build-args: BUILD_COMMAND="pnpm build"
build-args: BUILD_COMMAND="pnpm build"

0 comments on commit 391c86f

Please sign in to comment.