-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathaction.yml
More file actions
37 lines (36 loc) · 1.18 KB
/
action.yml
File metadata and controls
37 lines (36 loc) · 1.18 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
---
name: Action Ansible Galaxy Release
description: Action to Release Ansible Roles to galaxy.ansible.com (galaxy-ng)
author: step-security
inputs:
galaxy_api_key:
description: |
Your personal Galaxy-NG API key
You find them on Galaxy-NG -> Collections -> API-Token.
The Token is valid for uploading ansible roles too.
required: true
galaxy_version:
description: |
The galaxy version for galaxy-ng.
Provided with the --branch "$galaxy_version" option on the galaxy import tool
Default is the GITHUB_REF_NAME
required: false
path:
description: The location of your role. (relative path)
required: false
default: "./"
galaxy_api:
description: Ansible Galaxy API Endpunkt
required: false
default: "https://galaxy.ansible.com/api/"
runs:
using: 'docker'
image: 'docker://ghcr.io/step-security/ansible-galaxy-action:v1.2.2@sha256:03381ce939bd1229f74f8c31e139d6fe9fdb4af471fe8b919e12d7f8b7e686e7' #v1.2.2
env:
GALAXY_API_KEY: ${{ inputs.galaxy_api_key }}
GIT_BRANCH: ${{ inputs.galaxy_version }}
PATH: ${{ inputs.path }}
GALAXY_API: ${{ inputs.galaxy_api }}
branding:
icon: 'upload-cloud'
color: 'black'