-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathaction.yml
More file actions
54 lines (53 loc) · 1.62 KB
/
Copy pathaction.yml
File metadata and controls
54 lines (53 loc) · 1.62 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: 'Source2Image'
description: 'Create image using source2image'
author: 'Red Hat CoP'
icon: package
color: purple
inputs:
path:
description: 'Path to source code'
default: '.'
required: false
base:
description: 'source2image base image'
required: true
deprecationMessage: 'This action is deprecated, please migrate to: https://github.com/marketplace/actions/source-to-image-build'
output_image:
description: 'resulting image'
required: true
image_pull_registry:
description: 'the registry containing the builder image'
required: false
image_pull_username:
description: 'the username to use for pulling the base image'
required: false
image_pull_password:
description: 'the password to use for pulling the base image'
required: false
image_push_registry:
description: 'the registry to push the built image to'
required: true
image_push_username:
description: 'the username to use for pushing the built image'
required: true
image_push_password:
description: 'the password to use for pushing the built image'
required: true
image_tags:
description: 'tag the image with additional tags (comma separated)'
default: 'latest'
required: false
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.path }}
- ${{ inputs.base }}
- ${{ inputs.output_image }}
- ${{ inputs.image_pull_registry }}
- ${{ inputs.image_pull_username }}
- ${{ inputs.image_pull_password }}
- ${{ inputs.image_push_registry }}
- ${{ inputs.image_push_username }}
- ${{ inputs.image_push_password }}
- ${{ inputs.image_tags }}