Update ci workflow

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2020-08-16 23:15:54 +02:00
parent 6ede7e932d
commit bf8b1bf979
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7

View file

@ -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()