mirror of
https://github.com/docker/build-push-action.git
synced 2024-11-23 19:39:03 +00:00
Update ci workflow
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
6ede7e932d
commit
bf8b1bf979
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 New Issue
Block a user