diff --git a/.gitea/workflows/portainer_automation_build_push.yml b/.gitea/workflows/portainer_automation_build_push.yml index 8ce4c0f..0888e23 100644 --- a/.gitea/workflows/portainer_automation_build_push.yml +++ b/.gitea/workflows/portainer_automation_build_push.yml @@ -9,13 +9,10 @@ on: workflow_dispatch: inputs: 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 default: 'test' - type: choice - options: - - test - - prod + type: string jobs: version: diff --git a/docker-compose.yaml b/docker-compose.yaml index 07f9090..41ddd87 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -30,15 +30,3 @@ 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 \ No newline at end of file