mirror of
https://github.com/redhat-actions/buildah-build.git
synced 2025-04-20 17:11:23 +00:00
Resolve reviews
Signed-off-by: divyansh42 <diagrawa@redhat.com>
This commit is contained in:
parent
20824b2562
commit
0c5fef5c99
4 changed files with 7 additions and 7 deletions
|
@ -21,7 +21,7 @@ After building your image, use [push-to-registry](https://github.com/redhat-acti
|
||||||
|
|
||||||
| Input Name | Description | Default |
|
| Input Name | Description | Default |
|
||||||
| ---------- | ----------- | ------- |
|
| ---------- | ----------- | ------- |
|
||||||
| archs | Architecture(s) to build the image(s) for. For multiple architectures, separate by a comma. For example, `"arm64,amd64"`. If running on self hosted runners then suggest running [qemu-user-static](https://github.com/marketplace/actions/docker-setup-qemu) action to install `qemu-user-static`. | `amd64`
|
| archs | Architecture(s) to build the image(s) for. For multiple architectures, separate by a comma. If running on self hosted runners then suggest running [qemu-user-static](https://github.com/marketplace/actions/docker-setup-qemu) action to install `qemu-user-static`. | `amd64`
|
||||||
| build-args | Build arguments to pass to the Docker build using `--build-arg`, if using a Dockerfile that requires ARGs. Use the form `arg_name=arg_value`, and separate arguments with newlines. | None
|
| build-args | Build arguments to pass to the Docker build using `--build-arg`, if using a Dockerfile that requires ARGs. Use the form `arg_name=arg_value`, and separate arguments with newlines. | None
|
||||||
| context | Path to directory to use as the build context. | `.`
|
| context | Path to directory to use as the build context. | `.`
|
||||||
| dockerfiles | The list of Dockerfile paths to perform a build using docker instructions. This is a multiline input to allow multiple Dockerfiles. | **Must be provided**
|
| dockerfiles | The list of Dockerfile paths to perform a build using docker instructions. This is a multiline input to allow multiple Dockerfiles. | **Must be provided**
|
||||||
|
@ -33,7 +33,7 @@ After building your image, use [push-to-registry](https://github.com/redhat-acti
|
||||||
|
|
||||||
| Input Name | Description | Default |
|
| Input Name | Description | Default |
|
||||||
| ---------- | ----------- | ------- |
|
| ---------- | ----------- | ------- |
|
||||||
| archs | Architecture(s) to build the image(s) for. For multiple architectures, separate by a comma. For example, `"arm64,amd64"`. If running on self hosted runners then suggest running [qemu-user-static](https://github.com/marketplace/actions/docker-setup-qemu) action to install `qemu-user-static`. | `amd64`
|
| archs | Architecture(s) to build the image(s) for. For multiple architectures, separate by a comma. If running on self hosted runners then suggest running [qemu-user-static](https://github.com/marketplace/actions/docker-setup-qemu) action to install `qemu-user-static`. | `amd64`
|
||||||
| base-image | The base image to use for the container. | **Must be provided**
|
| base-image | The base image to use for the container. | **Must be provided**
|
||||||
| content | Paths to files or directories to copy inside the container to create the file image. This is a multiline input to allow you to copy multiple files/directories.| None
|
| content | Paths to files or directories to copy inside the container to create the file image. This is a multiline input to allow you to copy multiple files/directories.| None
|
||||||
| context | Path to directory to use as the build context. | `.`
|
| context | Path to directory to use as the build context. | `.`
|
||||||
|
@ -76,7 +76,7 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Buildah Action
|
- name: Buildah Action
|
||||||
uses: redhat-actions/buildah-build@v3
|
uses: redhat-actions/buildah-build@v2
|
||||||
with:
|
with:
|
||||||
image: my-new-image
|
image: my-new-image
|
||||||
tags: v1 ${{ github.sha }}
|
tags: v1 ${{ github.sha }}
|
||||||
|
@ -117,7 +117,7 @@ jobs:
|
||||||
- run: mvn package
|
- run: mvn package
|
||||||
|
|
||||||
- name: Build Image
|
- name: Build Image
|
||||||
uses: redhat-actions/buildah-build@v3
|
uses: redhat-actions/buildah-build@v2
|
||||||
with:
|
with:
|
||||||
base-image: docker.io/fabric8/java-alpine-openjdk11-jre
|
base-image: docker.io/fabric8/java-alpine-openjdk11-jre
|
||||||
image: my-new-image
|
image: my-new-image
|
||||||
|
|
|
@ -47,7 +47,7 @@ inputs:
|
||||||
archs:
|
archs:
|
||||||
description: |
|
description: |
|
||||||
'Architecture(s) to build the image(s) for. For multiple architectures,
|
'Architecture(s) to build the image(s) for. For multiple architectures,
|
||||||
separate by a comma. For example, "arm64,amd64"'
|
separate by a comma.'
|
||||||
default: 'amd64'
|
default: 'amd64'
|
||||||
required: false
|
required: false
|
||||||
outputs:
|
outputs:
|
||||||
|
|
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
|
@ -2,7 +2,7 @@
|
||||||
export enum Inputs {
|
export enum Inputs {
|
||||||
/**
|
/**
|
||||||
* 'Architecture(s) to build the image(s) for. For multiple architectures,
|
* 'Architecture(s) to build the image(s) for. For multiple architectures,
|
||||||
* separate by a comma. For example, "arm64,amd64"'
|
* separate by a comma.'
|
||||||
* Required: false
|
* Required: false
|
||||||
* Default: "amd64"
|
* Default: "amd64"
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue