portainer-stack-git-redeplo.../action.yml

34 lines
888 B
YAML
Raw Permalink Normal View History

2023-08-17 19:17:58 +02:00
name: Portainer Stack Git Redeploy
author: Julius Freudenberger
description: Action for request to Portainer API for redeploy stack configured to use the docker-compose.yaml from a git repository with pull latest images and possibility to set environment variables
2022-12-08 22:00:11 +01:00
inputs:
portainerUrl:
description: 'Portainer URL'
required: true
accessToken:
description: 'Portainer access token'
required: true
stackId:
description: 'Stack ID'
required: true
endpointId:
2022-12-08 22:17:31 +01:00
description: 'Endpoint ID'
2022-12-08 22:00:11 +01:00
required: false
default: ''
repositoryAuthentication:
description: 'Use stored credentials to pull docker-compose.yaml from git repository'
required: false
default: false
2023-08-17 19:17:58 +02:00
environment:
description: 'Environment variables'
required: false
2022-12-08 22:00:11 +01:00
runs:
using: 'node16'
2022-12-08 22:37:35 +01:00
main: 'dist/index.js'
2022-12-08 22:50:09 +01:00
branding:
icon: 'refresh-ccw'
color: 'blue'