ci(deploy): require explicit release enablement
CI / Verify (push) Failing after 48s
CI / Build immutable images and deploy (push) Has been skipped

This commit is contained in:
2026-08-29 06:18:59 +00:00 Unverified
parent 18a1e347f9
commit 129a8d421c
2 changed files with 6 additions and 2 deletions
+4 -1
View File
@@ -46,7 +46,10 @@ jobs:
build-and-deploy:
name: Build immutable images and deploy
needs: verify
if: gitea.event_name == 'push' && gitea.ref == 'refs/heads/main'
if: >-
gitea.event_name == 'push' &&
gitea.ref == 'refs/heads/main' &&
vars.DEPLOY_ENABLED == 'true'
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
+2 -1
View File
@@ -237,7 +237,8 @@ kubectl kustomize k8s/ >/dev/null
### Gitea Actions release
`.gitea/workflows/ci.yml` verifies every push and pull request. A successful
`.gitea/workflows/ci.yml` verifies every push and pull request. After the
repository variable `DEPLOY_ENABLED` is explicitly set to `true`, a successful
push to `main` builds multi-architecture images at:
```text