eyecantcu/Image Action
Builds, pushes, and signs an image
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| image | The name (reference) of the image to build | no | — |
| tags | The tags of the image to build. For multiple tags, seperate by whitespace. For example, "latest v1". | no | latest |
| labels | The labels of the image to build. Seperate by newline. For example, "io.containers.capabilities=sys_admin,mknod". | no | — |
| base-image | The base image to use to create a new container image | no | — |
| containerfiles | List of Containerfile paths (eg: ./Containerfile) | no | — |
| dockerfiles | Alias for "containerfiles". "containerfiles" takes precedence if both are set. | no | — |
| context | Path of the directory to use as context (default: .) | no | . |
| content | List of files/directories to copy inside the base image | no | — |
| entrypoint | The entry point to set for containers based on image | no | — |
| layers | Set to true to cache intermediate layers during build process | no | — |
| port | The port to expose when running containers based on image | no | — |
| workdir | The working directory to use within the container | no | — |
| envs | List of environment variables to be set when running containers based on image | no | — |
| build-args | List of --build-args to pass to buildah | no | — |
| oci | Set to true to build using the OCI image format instead of the Docker image format | no | false |
| arch | Label the image with this ARCH, instead of defaulting to the host architecture | no | — |
| archs | 'Same as input 'arch', use this for multiple architectures. Seperate them by a comma' | no | — |
| platform | Label the image with this PLATFORM, instead of defaulting to the host platform. Only supported for containerfile builds. | no | — |
| platforms | 'Same as input 'platform', use this for multiple platforms. Seperate them by a comma' | no | — |
| build-extra-args | Extra args to be passed to buildah bud and buildah from. Separate arguments by newline. Do not use quotes - @actions/exec will do the quoting for you. | no | — |
| registry | Hostname and optional namespace to push the image to (eg. quay.io/username or quay.io) | no | — |
| username | Username to use as credential to authenticate to the registry | no | — |
| password | Password to use as credential to authenticate to the registry | no | — |
| tls-verify | Verify TLS certificates when contacting the registry | no | true |
| digestfile | After copying the image, write the digest of the resulting image to the file. By default, the filename will be determined from the image and tag. The contents of this file are the digest output. | no | — |
| push-extra-args | Extra args to be passed to podman push. Separate arguments by newline. Do not use quotes - @actions/exec will do the quoting for you. | no | — |
| registry-token | Password for container registry | yes | — |
| signing-secret | Private key used to sign target container. | yes | — |
| verify-image | Base image to verify | no | — |
| verify-pubkey | Public key used to verify base image | no | — |
Outputs
no outputs