Compare commits
2 Commits
bf5c9f1650
...
8ee2abdbd7
| Author | SHA1 | Date | |
|---|---|---|---|
| 8ee2abdbd7 | |||
| 35db41573a |
@ -9,13 +9,10 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
environment:
|
environment:
|
||||||
description: 'Target environment (test → PATCH bump, prod → MINOR bump)'
|
description: 'Target environment: "test" (PATCH bump) or "prod" (MINOR bump). Invalid values fail early with validation error.'
|
||||||
required: true
|
required: true
|
||||||
default: 'test'
|
default: 'test'
|
||||||
type: choice
|
type: string
|
||||||
options:
|
|
||||||
- test
|
|
||||||
- prod
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
version:
|
version:
|
||||||
|
|||||||
@ -30,15 +30,3 @@ services:
|
|||||||
- "${DB_PORT}:5432"
|
- "${DB_PORT}:5432"
|
||||||
volumes:
|
volumes:
|
||||||
- ${DB_PATH}:/var/lib/postgresql/data
|
- ${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