-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yaml
96 lines (79 loc) · 2.39 KB
/
action.yaml
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
---
name: 'NFC Docker'
description: Docker workflow
inputs:
DOCKER_BUILD_REGISTRY:
default: "ghcr.io"
description: Registry where build image will live
required: false
DOCKER_BUILD_IMAGE_NAME:
default: "${{ github.repository }}"
description: Docker image name for building image
required: false
DOCKER_BUILD_IMAGE_TAG:
default: "${{ github.sha }}"
description: Docker image tag for building image
required: false
DOCKER_FILE:
default: "dockerfile"
description: Path to the dockerfile
required: false
DOCKER_LABEL_ARTIFACTHUB_MAINTAINER:
default: '[{"name":"No Fuss Computing","email":"helpdesk@nofusscomputing.com"}]'
description: Artifact hub Maintainer
required: false
DOCKER_LABEL_ARTIFACTHUB_README:
default: 'https://raw.githubusercontent.com/${{ github.repository }}/development/README.md'
description: Artifact hub ReadMe
required: false
DOCKER_PUBLISH_REGISTRY:
default: "docker.io"
description: Registry where image will be published to
required: false
DOCKER_PUBLISH_IMAGE_NAME:
default: "${{ github.repository }}"
description: Docker image name for publishing the image
required: false
DOCKER_PUBLISH_USERNAME:
description: Publish Docker registry username
required: true
DOCKER_PUBLISH_PASSWORD:
description: Publish Docker registry password
required: true
DOCKER_SCAN_IMAGE_VULNERABILITY:
default: 'true'
description: Scan Image with Trivy
required: false
DOCKER_TAG_IMAGE_TAG_SOURCE:
default: "${{ github.sha }}"
description: Docker image tag Used for source Image to tag
required: false
DOCKER_TAG_IMAGE_TAG_LATEST:
default: 'true'
description: Create image with tag 'Latest'
required: false
DOCKER_TAG_IMAGE_TAG_SHA:
default: 'true'
description: Create image with tag that is the git commit
required: false
runs:
using: "composite"
steps:
- name: debug
shell: bash
run: |
echo ${{ github.action_path }}
- name: debug
shell: bash
run: |
ls -l ${{ github.action_path }}
#
# Cant call actions within steps, must be from jobs.
#
# - name: Docker
# uses: nofusscomputing/action_docker/.github/workflows/docker.yaml@genesis
# - name: Docker
# uses: ${{ github.action_path }}/.github/workflows/docker.yaml
branding:
icon: 'activity'
color: 'blue'