Skip to content

Commit

Permalink
Update ci workflow
Browse files Browse the repository at this point in the history
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
  • Loading branch information
CrazyMax committed Aug 17, 2020
1 parent 363c8ed commit 1110973
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ jobs:
name: Set up Docker Buildx
id: buildx
uses: ./setup-buildx/ # change to docker/setup-buildx-action@master
# with:
# driver-opt: network=host
with:
driver-opt: network=host
-
name: Build and push
uses: ./
Expand All @@ -46,8 +46,8 @@ jobs:
file: ./test/Dockerfile-${{ matrix.dockerfile }}
builder: ${{ steps.buildx.outputs.name }}
platforms: linux/amd64,linux/arm64
#allow: network.host,security.insecure
#push: true
allow: network.host,security.insecure
push: true
tags: |
localhost:5000/name/app:latest
localhost:5000/name/app:1.0.0
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
uses: ./setup-buildx/ # change to docker/setup-buildx-action@master
with:
version: latest
#driver-opt: network=host
driver-opt: network=host
-
name: Build and push
uses: ./
Expand All @@ -89,8 +89,8 @@ jobs:
file: ./test/Dockerfile
builder: ${{ steps.buildx.outputs.name }}
platforms: linux/amd64,linux/arm64
#allow: network.host,security.insecure
#push: true
allow: network.host,security.insecure
push: true
tags: |
localhost:5000/name/app:latest
localhost:5000/name/app:1.0.0
Expand Down Expand Up @@ -124,15 +124,15 @@ jobs:
name: Set up Docker Buildx
id: buildx
uses: ./setup-buildx/ # change to docker/setup-buildx-action@master
# with:
# driver-opt: network=host
with:
driver-opt: network=host
-
name: Build and push
uses: ./
with:
builder: ${{ steps.buildx.outputs.name }}
bake: true
#push: true
push: false # set to true when https://github.com/docker/buildx/issues/179 is fixed
bake-files: |
./test/config.hcl
bake-targets: |
Expand Down

0 comments on commit 1110973

Please sign in to comment.