mirror of
https://github.com/docker/build-push-action.git
synced 2024-12-27 17:11:04 +08: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
|
||||
uses: ./setup-buildx/ # change to docker/setup-buildx-action@master
|
||||
-
|
||||
name: Build 1
|
||||
name: Build with cache
|
||||
uses: ./
|
||||
with:
|
||||
context: ./test
|
||||
@ -169,18 +169,6 @@ jobs:
|
||||
tags: |
|
||||
localhost:5000/name/app:latest
|
||||
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
|
||||
if: always()
|
||||
|
Loading…
x
Reference in New Issue
Block a user