mirror of
https://github.com/redhat-actions/buildah-build.git
synced 2025-06-08 10:01:34 +00:00
Add feature to pass extra args when building image
If a user wants to pass few extra args to build command when building image, then he can pass using 'extra-args' input parameter. Signed-off-by: divyansh42 <diagrawa@redhat.com>
This commit is contained in:
parent
75dab40354
commit
2b7e117c22
7 changed files with 24 additions and 9 deletions
|
@ -116,6 +116,13 @@ envs: |
|
|||
GOPATH=/root/buildah/go</pre>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>extra-args</td>
|
||||
<td>No</td>
|
||||
<td> Extra args to be passed to build command when building image.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
## Build Types
|
||||
|
@ -165,6 +172,7 @@ Do not set `dockerfiles` if you are doing a build from scratch. Otherwise those
|
|||
- `entrypoint` so the container knows what command to run.
|
||||
- In a Dockerfile, this would be the `ENTRYPOINT`.
|
||||
- All other optional configuration inputs, such as `port`, `envs`, and `workdir`.
|
||||
- `extra-args`
|
||||
|
||||
Example of building a Spring Boot Java app image:
|
||||
```yaml
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue