forked from ilteoood/docker_buildx
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathaction.yml
33 lines (32 loc) · 993 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: "Customizable Docker Buildx Build"
description: "Build and Publish Multi-Arch Docker Images using GitHub Action"
author: "zmingxie"
branding:
color: 'blue'
icon: 'anchor'
inputs:
tag:
description: "Tags (comma separated) to apply to the image"
default: "latest"
imageName:
description: "Name of the image"
required: true
dockerFile:
description: "Name of the Dockerfile"
default: "Dockerfile"
buildArg:
description: "Docker `--build-arg` flags (*comma separated*)"
default: "none"
publish:
description: "Indicate if the builded image should be published on Docker HUB"
default: "false"
platform:
description: "Platforms (comma separated) that should be used to build the image"
default: "linux/amd64,linux/arm64,linux/arm/v7"
dockerHubUser:
description: "User that will publish the image, if indicated"
dockerHubPassword:
description: "Password of the dockerHubUser"
runs:
using: 'node12'
main: 'index.js'