This repository was archived by the owner on Aug 30, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathaction.yml
More file actions
40 lines (40 loc) · 1.48 KB
/
action.yml
File metadata and controls
40 lines (40 loc) · 1.48 KB
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
34
35
36
37
38
39
40
name: "GitHub Docker Action"
description: "Build and publish your repository as a Docker image and push it to GitHub Package Registry in one step"
inputs:
accessToken:
description: "GitHub Repository Token to log in using."
required: true
imageName:
description: "The desired name for the image. Defaults to current repository name."
required: false
tag:
description: "The desired tag for the image. Defaults to latest. Optionally accepts multiple tags separated by newline."
default: latest
required: false
buildArgs:
description: "Any additional build arguments to use when building the image, separated by newline."
required: false
context:
description: "Where should GitHub Docker find the Dockerfile, relative to the root of the repository."
required: false
default: "."
contextName:
description: "What Dockerfile should GitHub Docker be using when building. Defaults to traditional Dockerfile name."
required: false
default: Dockerfile
containerRegistry:
description: "Whether or not to push to GitHub Container Registry instead of GitHub Package Registry."
required: false
default: "false"
repository:
description: "The repository to push the image to. Defaults to the current repository. Must be specified in format user/repo."
required: false
outputs:
imageURL:
description: "The URL of the image, without the tag."
runs:
using: "node12"
main: "dist/index.js"
branding:
icon: "anchor"
color: "blue"