dockerbuild/action.yaml
Ondrej Vlach 947b247ce0
Some checks failed
Go Test / test (push) Failing after 2s
initial commit
2025-05-30 19:31:24 +02:00

26 lines
689 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: ''
docker_file:
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'