-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathaction.yml
More file actions
30 lines (30 loc) · 902 Bytes
/
action.yml
File metadata and controls
30 lines (30 loc) · 902 Bytes
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
name: "cached-docker-build-push"
description: "Action for docker build and push with cache"
inputs:
image_name:
description: "Image name, required"
required: true
image_tag:
description: "Image tag, default $GITHUB_SHA"
required: false
cache_stage_target:
description: "Name of the stage target for use in cache, two images will be compiled, the stage target and the last stage."
required: false
build_params:
description: "Add any docker build flag, --build-params='--build-arg=TOKEN=$TOKEN'"
required: false
file:
description: Name of the Dockerfile (Default is 'PATH/Dockerfile')
required: false
print:
description: 'Only print docker commands default: false'
required: false
push:
description: 'Push image default: false'
required: false
runs:
using: 'docker'
image: 'Dockerfile'
branding:
icon: "package"
color: "blue"