You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
├─► publish-docker-images — builds and pushes Docker Hub images
25
+
└─► deploy-staging — SSHes into VPS, runs ./compass update
24
26
```
25
27
26
-
**Monthly minor/major releases** remain manual: a maintainer pushes a tag like `v1.3.0` or `v2.0.0`, which skips the bump step and goes straight to publish + deploy.
28
+
The automatic path calls reusable workflows directly. It uses `GITHUB_TOKEN` to
29
+
push the git tag, then passes that tag to the publish and deploy workflows. It
30
+
does not rely on the workflow-created tag push to trigger another workflow.
31
+
32
+
**Monthly minor/major releases** remain manual: a maintainer pushes a tag like
33
+
`v1.3.0` or `v2.0.0`, which skips the bump step and runs
34
+
`Publish Docker images`. Staging deploys for manual tags are explicit: run
35
+
`Deploy staging` with the existing tag after the images are published.
4. Each image gets all three tags: `1.2.3`, `1.2`, and `latest`.
52
-
5. After all images are pushed, the `deploy-staging` job runs.
53
62
54
63
### Tag pattern rules
55
64
56
-
Only clean semver tags trigger the workflow. Tags with suffixes (e.g. `v1.2.3-test`) do not match and are safe to push for local testing without triggering a deploy.
65
+
Only clean semver tags trigger this workflow from a tag push. Tags with suffixes
66
+
(e.g. `v1.2.3-test`) do not match and are safe to push for local testing without
67
+
publishing images.
57
68
58
69
---
59
70
60
71
## Staging Deploy
61
72
62
-
Source: `deploy-staging` job in [`.github/workflows/publish-images.yml`](../../.github/workflows/publish-images.yml)
0 commit comments