Skip to content

Commit

Permalink
just modify main docker
Browse files Browse the repository at this point in the history
  • Loading branch information
nullpointer0x00 committed Nov 7, 2023
1 parent b650cec commit a3b8697
Showing 1 changed file with 2 additions and 20 deletions.
22 changes: 2 additions & 20 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: build
on:
push:
branches:
- main
- '*'

jobs:
build:
Expand Down Expand Up @@ -44,22 +44,4 @@ jobs:
file: Dockerfile-prod
context: .
push: true
tags: provenanceio/explorer-frontend:latest

- name: Build and push mainnet
uses: docker/build-push-action@v2
with:
target: runner
file: Dockerfile-prod
context: .
push: true
tags: provenanceio/explorer-frontend:production
build-args: REACT_APP_ENV=production

- name: Build and push compose
uses: docker/build-push-action@v2
with:
file: Dockerfile
context: .
push: true
tags: provenanceio/explorer-frontend-generic:latest
tags: provenanceio/explorer-frontend-${{ steps.get-branch-name.outputs.branch }}:latest

0 comments on commit a3b8697

Please sign in to comment.