mirror of
https://gitea.com/docker/build-push-action.git
synced 2024-11-22 17:39:38 +01:00
Fix build-args example
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
5af5c5fa9d
commit
07d2c320de
2 changed files with 8 additions and 3 deletions
|
@ -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 }}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue