forked from VaultVulp/gp-docker-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
33 lines (33 loc) · 870 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: 'Build and publish Docker Image to GitHub Registry'
description: 'GitHub Action to publish Docker Images to GitHub Registry'
inputs:
github-token:
description: 'GitHub token to push Docker image to GitHub Packages'
required: true
image-name:
description: 'Docker Image name'
required: true
image-tag:
description: 'Docker Image tag'
default: "latest"
required: false
extract-git-tag:
description: 'Extract git-tag from repository'
default: "false"
required: false
build-context:
description: 'Path to build context'
default: "."
required: false
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.github-token }}
- ${{ inputs.image-name }}
- ${{ inputs.image-tag }}
- ${{ inputs.extract-git-tag }}
- ${{ inputs.build-context}}
branding:
icon: 'box'
color: 'blue'