Add anchors to README headers (#37)

Signed-off-by: divyansh42 <diagrawa@redhat.com>
This commit is contained in:
Divyanshu Agrawal 2021-03-09 19:10:14 +05:30 committed by GitHub
parent ef84eec383
commit 71b37c4385
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,8 +15,12 @@ Buildah only works on Linux. GitHub's [Ubuntu Environments](https://github.com/a
After building your image, use [push-to-registry](https://github.com/redhat-actions/push-to-registry) to push the image and make it pullable.
<a id="action-inputs"></a>
## Action Inputs
<a id="dockerfile-build-inputs"></a>
### Inputs for build from dockerfile
| Input Name | Description | Default |
@ -29,6 +33,8 @@ After building your image, use [push-to-registry](https://github.com/redhat-acti
| oci | Build the image using the OCI format, instead of the Docker format. By default, this is `false`, because images built using the OCI format have issues when published to Dockerhub. | `false`
| tags | The tags of the image to build. For multiple tags, separate by a space. For example, `latest ${{ github.sha }}` | `latest`
<a id="scratch-build-inputs"></a>
### Inputs for build without dockerfile
| Input Name | Description | Default |
@ -45,6 +51,8 @@ After building your image, use [push-to-registry](https://github.com/redhat-acti
| tags | The tags of the image to build. For multiple tags, separate by a space. For example, `latest ${{ github.sha }}` | `latest`
| workdir | The working directory to use within the container. | None
<a id="outputs"></a>
## Action Outputs
`image`: The name of the built image.<br>
@ -53,10 +61,14 @@ For example, `spring-image`.
`tags`: A list of the tags that were created, separated by spaces.<br>
For example, `latest ${{ github.sha }}`.
<a id="build-types"></a>
## Build Types
You can configure the `buildah` action to build your image using one or more Dockerfiles, or none at all.
<a id="build-using-dockerfile"></a>
### Building using Dockerfiles
If you have been building your images with an existing Dockerfile, `buildah` can reuse your Dockerfile.
@ -85,6 +97,7 @@ jobs:
build-args: |
some_arg=some_value
```
<a id="scratch-build"></a>
### Building without a Dockerfile
@ -129,6 +142,7 @@ jobs:
```
<a id="multi-arch-builds"></a>
## Multi arch builds
If building for an architecture other than `amd64`, install `qemu-user-static` using the following command.