mirror of
https://github.com/docker/build-push-action.git
synced 2024-11-06 00:35:53 -05:00
Update ci workflow
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
6ede7e932d
commit
bf8b1bf979
1 changed files with 1 additions and 13 deletions
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
|
@ -158,7 +158,7 @@ jobs:
|
||||||
id: buildx
|
id: buildx
|
||||||
uses: ./setup-buildx/ # change to docker/setup-buildx-action@master
|
uses: ./setup-buildx/ # change to docker/setup-buildx-action@master
|
||||||
-
|
-
|
||||||
name: Build 1
|
name: Build with cache
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
context: ./test
|
context: ./test
|
||||||
|
@ -169,18 +169,6 @@ jobs:
|
||||||
tags: |
|
tags: |
|
||||||
localhost:5000/name/app:latest
|
localhost:5000/name/app:latest
|
||||||
localhost:5000/name/app:1.0.0
|
localhost:5000/name/app:1.0.0
|
||||||
-
|
|
||||||
name: Build 2
|
|
||||||
uses: ./
|
|
||||||
with:
|
|
||||||
context: ./test
|
|
||||||
file: ./test/Dockerfile-multi-golang
|
|
||||||
builder: ${{ steps.buildx.outputs.name }}
|
|
||||||
platforms: linux/amd64,linux/arm64
|
|
||||||
cache-github: true
|
|
||||||
tags: |
|
|
||||||
localhost:5000/name/app2:latest
|
|
||||||
localhost:5000/name/app2:1.0.0
|
|
||||||
-
|
-
|
||||||
name: Dump context
|
name: Dump context
|
||||||
if: always()
|
if: always()
|
||||||
|
|
Loading…
Reference in a new issue