generated from omegion/go-cli-template
-
Notifications
You must be signed in to change notification settings - Fork 11
/
action.yml
36 lines (35 loc) · 922 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
34
35
36
name: "ArgoCD Actions"
description: "Operate your ArgoCD applications from GitHub"
author: "omegion"
branding:
icon: activity
color: yellow
inputs:
address:
description: "ArgoCD server address"
required: true
token:
description: "ArgoCD token"
required: true
action:
description: "Action name"
required: true
appName:
description: "Application name to sync"
required: true
image:
description: "Image tag for the binary"
required: false
default: "latest"
runs:
using: "composite"
steps:
- name: Run argocd-actions CLI from the image for GH image registry
run: |
docker run --rm -i ghcr.io/omegion/argocd-actions:${{ inputs.image }} \
${{ inputs.action }} \
--application=${{ inputs.appName }} \
--token=${{ inputs.token }} \
--address=${{ inputs.address }} \
--logLevel=debug
shell: sh