Fix build-args example
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>pull/194/head
parent
5af5c5fa9d
commit
07d2c320de
|
@ -88,6 +88,9 @@ jobs:
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
tags: user/app:latest
|
tags: user/app:latest
|
||||||
|
build-args: |
|
||||||
|
arg1=value1
|
||||||
|
arg2=value2
|
||||||
-
|
-
|
||||||
name: Image digest
|
name: Image digest
|
||||||
run: echo ${{ steps.docker_build.outputs.digest }}
|
run: echo ${{ steps.docker_build.outputs.digest }}
|
||||||
|
@ -540,8 +543,8 @@ might want to use:
|
||||||
|
|
||||||
### Update DockerHub repo description
|
### Update DockerHub repo description
|
||||||
|
|
||||||
You can update the [Docker Hub repository description](https://docs.docker.com/docker-hub/repos/) using
|
You can update the [DockerHub repository description](https://docs.docker.com/docker-hub/repos/) using
|
||||||
a third-party action called [Docker Hub Description](https://github.com/peter-evans/dockerhub-description)
|
a third-party action called [DockerHub Description](https://github.com/peter-evans/dockerhub-description)
|
||||||
with this action:
|
with this action:
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
|
|
|
@ -65,7 +65,9 @@ steps:
|
||||||
file: ./Dockerfile
|
file: ./Dockerfile
|
||||||
pull: true
|
pull: true
|
||||||
push: true
|
push: true
|
||||||
build-args: arg1=value1,arg2=value2
|
build-args: |
|
||||||
|
arg1=value1
|
||||||
|
arg2=value2
|
||||||
cache-from: type=registry,ref=myorg/myrepository:latest
|
cache-from: type=registry,ref=myorg/myrepository:latest
|
||||||
cache-to: type=inline
|
cache-to: type=inline
|
||||||
tags: myorg/myrepository:latest
|
tags: myorg/myrepository:latest
|
||||||
|
|
Loading…
Reference in New Issue