Skip to content

Commit

Permalink
Merge pull request #7 from chaishiqi/iotex-stg
Browse files Browse the repository at this point in the history
Iotex stg
  • Loading branch information
huangzhiran authored Aug 30, 2024
2 parents 071c739 + 8d5e5ee commit 2fd7f82
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/build_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: build_image

on:
push:
branches: ["main"]
branches: ["iotex-stg"]
tags: ["v*.*.*"]

env:
Expand Down Expand Up @@ -58,8 +58,7 @@ jobs:
uses: docker/build-push-action@v4
with:
platforms: linux/amd64
context: .
file: ./docker/web/Dockerfile
context: ./docker/web
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta-web.outputs.tags }}
labels: ${{ steps.meta-web.outputs.labels }}
Expand All @@ -75,9 +74,8 @@ jobs:
id: build-and-push-nginx
uses: docker/build-push-action@v4
with:
context: .
context: ./docker/nginx
platforms: linux/amd64
file: ./docker/nginx/Dockerfile
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta-nginx.outputs.tags }}
labels: ${{ steps.meta-nginx.outputs.labels }}

0 comments on commit 2fd7f82

Please sign in to comment.