chore: update main.go
This commit is contained in:
35
action.yml
35
action.yml
@@ -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 }}"
|
||||
|
||||
Reference in New Issue
Block a user