28 lines
677 B
YAML
28 lines
677 B
YAML
inputs:
|
|
dockerfile:
|
|
description: Dockerfile path
|
|
required: true
|
|
default: ./Dockerfile
|
|
tag:
|
|
description: Image tag
|
|
required: true
|
|
default: ${{ gitea.ref_name }}
|
|
username:
|
|
description: Registry username
|
|
required: true
|
|
default: ${{ gitea.repository_owner }}
|
|
password:
|
|
description: Registry password
|
|
required: true
|
|
|
|
runs:
|
|
using: docker
|
|
image: Dockerfile
|
|
args:
|
|
- ACTION_DOCKERFILE=${{ inputs.dockerfile }}
|
|
- ACTION_TAG=${{ inputs.tag }}
|
|
- ACTION_REGISTRY=${{ gitea.server_url }}
|
|
- ACTION_IMAGE=${{ gitea.repository }}
|
|
- ACTION_USERNAME=${{ inputs.username }}
|
|
- ACTION_PASSWORD=${{ inputs.password }}
|