@@ -46,7 +46,7 @@ permissions:
4646## Usage
4747
4848` ` ` yaml
49- - uses : hoverkraft-tech/ci-github-container/actions/docker/build-image@3256ec78f48fdaa4c9691c87dc7136fa561c456e # 0.30.3
49+ - uses : hoverkraft-tech/ci-github-container/actions/docker/build-image@67e5563d6681bb610c1c961eecb6dfcd5b3cc62f # 0.30.5
5050 with :
5151 # OCI registry where to pull and push images
5252 # This input is required.
@@ -135,40 +135,40 @@ permissions:
135135
136136## Inputs
137137
138- | **Input** | **Description** | **Required** | **Default** |
139- | --------------------------- | -------------------------------------------------------------------------------------------------------- | ------------ | ---------------------------------- |
140- | **` oci-registry`** | OCI registry where to pull and push images | **true** | `ghcr.io` |
141- | **`oci-registry-username`** | Username used to log against the OCI registry. | **true** | `$\{\ { github.repository_owner }}` |
142- | | See <https://github.com/docker/login-action#usage>. | | |
143- | **`oci-registry-password`** | Password or personal access token used to log against the OCI registry. | **true** | `$\{\ { github.token }}` |
144- | | Can be passed in using `secrets.GITHUB_TOKEN`. | | |
145- | | See <https://github.com/docker/login-action#usage>. | | |
146- | **`repository`** | Repository name. | **false** | `$\{\ { github.repository }}` |
147- | | Example : ` my-org/my-repo` . | | |
148- | | See [Docker get-image-metadata action](../get-image-metadata/README.md). | | |
149- | **`image`** | Additional image name. | **false** | - |
150- | | Example : ` application` . | | |
151- | | See [Docker get-image-metadata action](../get-image-metadata/README.md). | | |
152- | **`tag`** | Force image tag to publish | **false** | - |
153- | **`platform`** | Platform to build for. Example : ` linux/amd64` . | **true** | - |
154- | | See <https://github.com/docker/build-push-action#inputs>. | | |
155- | **`context`** | Build's context is the set of files located in the specified PATH or URL. | **false** | `.` |
156- | | See <https://github.com/docker/build-push-action#inputs>. | | |
157- | **`dockerfile`** | Location of Dockerfile (defaults to Dockerfile). | **false** | `Dockerfile` |
158- | | See <https://github.com/docker/build-push-action#inputs>. | | |
159- | **`build-args`** | List of build-time variables. | **false** | - |
160- | | See <https://github.com/docker/build-push-action#inputs>. | | |
161- | **`target`** | Sets the target stage to build. | **false** | - |
162- | | See <https://github.com/docker/build-push-action#inputs>. | | |
163- | **`secrets`** | List of secrets to expose to the build. | **false** | - |
164- | | See <https://docs.docker.com/build/ci/github-actions/secrets/>. | | |
165- | **`secret-envs`** | List of secret environment variables to expose to the build (e.g., `key=envname, MY_SECRET=MY_ENV_VAR`). | **false** | - |
166- | | See <https://docs.docker.com/build/ci/github-actions/secrets/>. | | |
167- | **`cache-type`** | Cache type. | **false** | `gha` |
168- | | See <https://docs.docker.com/build/cache/backends>. | | |
169- | **`multi-platform`** | Whether this build participates in a multi-platform image publication. | **false** | `false` |
170- | | When true, the image is pushed by digest only so manifests can be assembled later. | | |
171- | | When false, the image is pushed with its tags directly. | | |
138+ | **Input** | **Description** | **Required** | **Default** |
139+ | --------------------------- | -------------------------------------------------------------------------------------------------------- | ------------ | -------------------------------- |
140+ | **` oci-registry`** | OCI registry where to pull and push images | **true** | `ghcr.io` |
141+ | **`oci-registry-username`** | Username used to log against the OCI registry. | **true** | `${ { github.repository_owner }}` |
142+ | | See <https://github.com/docker/login-action#usage>. | | |
143+ | **`oci-registry-password`** | Password or personal access token used to log against the OCI registry. | **true** | `${ { github.token }}` |
144+ | | Can be passed in using `secrets.GITHUB_TOKEN`. | | |
145+ | | See <https://github.com/docker/login-action#usage>. | | |
146+ | **`repository`** | Repository name. | **false** | `${ { github.repository }}` |
147+ | | Example : ` my-org/my-repo` . | | |
148+ | | See [Docker get-image-metadata action](../get-image-metadata/README.md). | | |
149+ | **`image`** | Additional image name. | **false** | - |
150+ | | Example : ` application` . | | |
151+ | | See [Docker get-image-metadata action](../get-image-metadata/README.md). | | |
152+ | **`tag`** | Force image tag to publish | **false** | - |
153+ | **`platform`** | Platform to build for. Example : ` linux/amd64` . | **true** | - |
154+ | | See <https://github.com/docker/build-push-action#inputs>. | | |
155+ | **`context`** | Build's context is the set of files located in the specified PATH or URL. | **false** | `.` |
156+ | | See <https://github.com/docker/build-push-action#inputs>. | | |
157+ | **`dockerfile`** | Location of Dockerfile (defaults to Dockerfile). | **false** | `Dockerfile` |
158+ | | See <https://github.com/docker/build-push-action#inputs>. | | |
159+ | **`build-args`** | List of build-time variables. | **false** | - |
160+ | | See <https://github.com/docker/build-push-action#inputs>. | | |
161+ | **`target`** | Sets the target stage to build. | **false** | - |
162+ | | See <https://github.com/docker/build-push-action#inputs>. | | |
163+ | **`secrets`** | List of secrets to expose to the build. | **false** | - |
164+ | | See <https://docs.docker.com/build/ci/github-actions/secrets/>. | | |
165+ | **`secret-envs`** | List of secret environment variables to expose to the build (e.g., `key=envname, MY_SECRET=MY_ENV_VAR`). | **false** | - |
166+ | | See <https://docs.docker.com/build/ci/github-actions/secrets/>. | | |
167+ | **`cache-type`** | Cache type. | **false** | `gha` |
168+ | | See <https://docs.docker.com/build/cache/backends>. | | |
169+ | **`multi-platform`** | Whether this build participates in a multi-platform image publication. | **false** | `false` |
170+ | | When true, the image is pushed by digest only so manifests can be assembled later. | | |
171+ | | When false, the image is pushed with its tags directly. | | |
172172
173173<!-- inputs:end -->
174174
0 commit comments