Make Docker build/push resilient to missing secrets for local act runs
Test / API Unit Tests (push) Successful in 9m47s
Test / Marketplace Unit Tests (push) Successful in 9m38s
Test / Admin Unit Tests (push) Successful in 9m37s
Build & Deploy / Build & Push Docker Image (push) Failing after 14s
Build & Deploy / Deploy to VPS (push) Has been skipped
Test / Dashboard Unit Tests (push) Successful in 9m36s
Test / API Integration Tests (push) Successful in 9m50s

- Add credential-check step so docker login gracefully skips when
  GITEA_TOKEN is unavailable (e.g. local 'act' runs)
- Build step always runs locally; push only when credentials exist
- Add .actrc for convenience runner image mapping
This commit is contained in:
root
2026-06-21 01:27:21 -04:00
parent 7da3957ee1
commit aca56e7ad9
2 changed files with 14 additions and 1 deletions
+2
View File
@@ -0,0 +1,2 @@
-P ubuntu-latest=catthehacker/ubuntu:act-latest
--artifact-server-path=/tmp/act-artifacts