chore: update main.go

This commit is contained in:
etwodev
2025-10-05 18:32:00 +01:00
parent 146caa853a
commit 493d862ad5
2 changed files with 297 additions and 154 deletions

View File

@@ -45,15 +45,26 @@ inputs:
runs:
using: "docker"
image: "Dockerfile"
env:
PORTAINER_URL: ${{ inputs.portainer-url }}
PORTAINER_TOKEN: ${{ inputs.portainer-token }}
PORTAINER_ENDPOINT: ${{ inputs.portainer-endpoint }}
STACK_NAME: ${{ inputs.stack-name }}
REPO_URL: ${{ inputs.repo-url }}
REPO_REF: ${{ inputs.repo-ref }}
REPO_COMPOSE_FILE: ${{ inputs.repo-compose-file }}
REPO_USERNAME: ${{ inputs.repo-username }}
REPO_PASSWORD: ${{ inputs.repo-password }}
TLS_SKIP_VERIFY: ${{ inputs.tls-skip-verify }}
ENV_DATA: ${{ inputs.env-data }}
args:
- "--url"
- "${{ inputs.portainer-url }}"
- "--token"
- "${{ inputs.portainer-token }}"
- "--endpoint"
- "${{ inputs.portainer-endpoint }}"
- "--stack"
- "${{ inputs.stack-name }}"
- "--repo-url"
- "${{ inputs.repo-url }}"
- "--repo-ref"
- "${{ inputs.repo-ref }}"
- "--compose"
- "${{ inputs.repo-compose-file }}"
- "--repo-user"
- "${{ inputs.repo-username }}"
- "--repo-pass"
- "${{ inputs.repo-password }}"
- "--insecure"
- "${{ inputs.tls-skip-verify }}"
- "--env"
- "${{ inputs.env-data }}"