dockerbuild/action.yaml
Ondrej Vlach 302df33baa
All checks were successful
Go Test / test (push) Successful in 25s
initial commit
2025-05-30 20:10:33 +02:00

26 lines
688 B
YAML

name: 'Build docker image'
description: 'Docker builder for images + pushing, secret management, automatic versioning, and more'
inputs:
path:
description: 'Path to image registry (e.g., ghcr.io/owner/repo)'
required: true
image-name:
description: 'The name of the image to build'
required: true
secrets:
desction: 'Secrets lists to pass to the build'
required: false
default: ''
dockerfile:
description: 'Path to the Dockerfile (default: Dockerfile)'
required: false
default: 'Dockerfile'
outputs:
full_image_name:
description: 'Full image name'
image_tag:
description: 'Version of image'
runs:
using: 'go'
main: 'main.go'