mirror of
https://github.com/redhat-actions/buildah-build.git
synced 2025-06-07 17:31:35 +00:00
Add feature to output image with multiple tags (#21)
Signed-off-by: divyansh42 <diagrawa@redhat.com>
This commit is contained in:
parent
75dab40354
commit
88e0085544
13 changed files with 1971 additions and 154 deletions
15
action.yml
15
action.yml
|
@ -8,13 +8,13 @@ inputs:
|
|||
image:
|
||||
description: 'The name (reference) of the image to build'
|
||||
required: true
|
||||
tag:
|
||||
description: 'The tag of the image to build'
|
||||
tags:
|
||||
description: 'The tags of the image to build. For multiple tags, seperate by a space. For example, "latest v1".'
|
||||
required: false
|
||||
default: latest
|
||||
base-image:
|
||||
description: 'The base image to use to create a new container image'
|
||||
required: false
|
||||
required: true
|
||||
dockerfiles:
|
||||
description: 'List of Dockerfile paths (eg: ./Dockerfile)'
|
||||
required: false
|
||||
|
@ -38,12 +38,17 @@ inputs:
|
|||
description: 'List of environment variables to be set when running containers based on image'
|
||||
required: false
|
||||
build-args:
|
||||
description: 'List of --build-args to pass to buildah.'
|
||||
description: 'List of --build-args to pass to buildah'
|
||||
required: false
|
||||
oci:
|
||||
description: 'Set to true to build using the OCI image format instead of the Docker image format.'
|
||||
description: 'Set to true to build using the OCI image format instead of the Docker image format'
|
||||
default: 'false'
|
||||
required: false
|
||||
outputs:
|
||||
image:
|
||||
description: 'Name of the image built'
|
||||
tags:
|
||||
description: 'List of the tags that were created, separated by spaces'
|
||||
runs:
|
||||
using: 'node12'
|
||||
main: 'dist/index.js'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue