Initial commit
This commit is contained in:
35
action.yml
Normal file
35
action.yml
Normal file
@@ -0,0 +1,35 @@
|
||||
name: Docker build push !
|
||||
description: A custom docker build push
|
||||
author: Skydust
|
||||
|
||||
# Define your inputs here.
|
||||
inputs:
|
||||
imageName:
|
||||
description: The image name
|
||||
required: true
|
||||
imagePrefix:
|
||||
description: The image prefix
|
||||
required: false
|
||||
default: {{ gitea.repositoryUrl }}/${{ gitea.repository_owner }}/
|
||||
push:
|
||||
description: Should push the built image
|
||||
required: false
|
||||
default: "true"
|
||||
pullCache:
|
||||
description: Uses the pull cache
|
||||
required: false
|
||||
default: "true"
|
||||
|
||||
# Define your outputs here.
|
||||
outputs:
|
||||
imageName:
|
||||
description: The full image name
|
||||
|
||||
runs:
|
||||
using: docker
|
||||
image: Dockerfile
|
||||
env:
|
||||
INPUT_IMAGE_NAME: ${{ inputs.imageName }}
|
||||
INPUT_IMAGE_PREFIX: ${{ inputs.imagePrefix }}
|
||||
INPUT_PUSH: ${{ inputs.push }}
|
||||
INPUT_PULL_CACHE: ${{ inputs.pullCache }}
|
||||
Reference in New Issue
Block a user