Merge pull request #194 from crazy-max/buildargs-example

Fix build-args example
This commit is contained in:
CrazyMax 2020-10-21 21:21:16 +02:00 committed by GitHub
commit 4d8e3c6c3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 3 deletions

View file

@ -88,6 +88,9 @@ jobs:
with:
push: true
tags: user/app:latest
build-args: |
arg1=value1
arg2=value2
-
name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}

View file

@ -65,7 +65,9 @@ steps:
file: ./Dockerfile
pull: true
push: true
build-args: arg1=value1,arg2=value2
build-args: |
arg1=value1
arg2=value2
cache-from: type=registry,ref=myorg/myrepository:latest
cache-to: type=inline
tags: myorg/myrepository:latest