Skip to content

Commit

Permalink
disable cache and edit serve cmd pt2
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrilevos committed Sep 7, 2023
1 parent 6d73a1e commit ab9ecc6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docker_app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push mainnet
if: ${{ matrix.network == 'mainnet' }}
if: ${{ github.ref == 'refs/heads/mainnet' }}
id: docker_build_tzvotes_mainnet
uses: docker/build-push-action@v3
with:
file: ./app/Dockerfile.${{ matrix.network }}
file: ./app/Dockerfile.mainnet
context: ./app/
platforms: linux/amd64
cache-from: type=gha
Expand All @@ -53,11 +53,11 @@ jobs:
ghcr.io/marigold-dev/tzvote:${{ steps.vars.outputs.date }}-${{ steps.vars.outputs.sha_short }}-mainnet
- name: Build and push testnet
if: ${{ matrix.network != 'mainnet' }}
if: ${{ github.ref == 'refs/heads/ghostnet' }}
id: docker_build_tzvotes_testnet
uses: docker/build-push-action@v3
with:
file: ./app/Dockerfile.${{ matrix.network }}
file: ./app/Dockerfile.ghostnet
context: ./app/
platforms: linux/amd64
cache-from: type=gha
Expand Down

0 comments on commit ab9ecc6

Please sign in to comment.