Compare commits
No commits in common. "8ee2abdbd7a2c17118a6cbb34297110427e9833b" and "cd270084ad4800b934a1c354595c1cb1847b0415" have entirely different histories.
8ee2abdbd7
...
cd270084ad
@ -9,10 +9,13 @@ on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
environment:
|
||||
description: 'Target environment: "test" (PATCH bump) or "prod" (MINOR bump). Invalid values fail early with validation error.'
|
||||
description: 'Target environment (test → PATCH bump, prod → MINOR bump)'
|
||||
required: true
|
||||
default: 'test'
|
||||
type: string
|
||||
type: choice
|
||||
options:
|
||||
- test
|
||||
- prod
|
||||
|
||||
jobs:
|
||||
version:
|
||||
|
||||
@ -63,7 +63,6 @@ jobs:
|
||||
API_KEY: ${{ secrets.PORTAINER_SERVICE_API_KEY_PROD }}
|
||||
run: |
|
||||
wget -q --no-check-certificate --timeout=30 \
|
||||
--post-data= \
|
||||
--header="X-API-Key: $API_KEY" \
|
||||
-O - \
|
||||
"$PORTAINER_AUTOMATION_URL/api/deploy/$STACK_ID" 2>&1 \
|
||||
|
||||
@ -72,7 +72,6 @@ jobs:
|
||||
API_KEY: ${{ secrets.PORTAINER_SERVICE_API_KEY }}
|
||||
run: |
|
||||
wget -q --no-check-certificate --timeout=30 \
|
||||
--post-data= \
|
||||
--header="X-API-Key: $API_KEY" \
|
||||
-O - \
|
||||
"$PORTAINER_AUTOMATION_URL/api/deploy/$STACK_ID" 2>&1 \
|
||||
|
||||
@ -30,3 +30,15 @@ services:
|
||||
- "${DB_PORT}:5432"
|
||||
volumes:
|
||||
- ${DB_PATH}:/var/lib/postgresql/data
|
||||
portainer-automation:
|
||||
image: gitea.hithomelabs.com/hithomelabs/portainer-automation:${ENV}
|
||||
container_name: portainer-automation_${ENV}
|
||||
ports:
|
||||
- "${PORTAINER_AUTOMATION_PORT:-8081}:8081"
|
||||
environment:
|
||||
- SPRING_PROFILES_ACTIVE=${SPRING_PROFILES_ACTIVE:-local}
|
||||
- PORTAINER_API_KEY=${PORTAINER_API_KEY}
|
||||
- PORTAINER_SERVICE_API_KEY=${PORTAINER_SERVICE_API_KEY}
|
||||
env_file:
|
||||
- stack.env
|
||||
restart: unless-stopped
|
||||
Loading…
Reference in New Issue
Block a user