Skip to content

Commit 92cf348

Browse files
committed
docs: describe the latest publish and the repository rulesets
1 parent 1df6c61 commit 92cf348

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

‎docs/development.md‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,17 @@ request:
107107
- A build of the mixin and the sets for `linux/amd64` and `linux/arm64`
108108
through a local registry, as in `make build-local`.
109109

110+
On a push to `main`, when these jobs pass, the `publish` job pushes the kits
111+
to `docker.io/localstack` with the tag `latest` (`scripts/build.sh --latest`).
112+
In this build, the sets list the mixin with the tag `latest`. The job uses the
113+
`docker-push` environment, which holds the `DOCKERHUB_USERNAME` and
114+
`DOCKER_PUSH_TOKEN` secrets and accepts only `main` and `v*` tags. The token
115+
can push to many repositories in the `localstack` namespace.
116+
117+
Rulesets protect `main` and the `v*` tags. A change to `main` needs a pull
118+
request with one approval. Only repository admins can create, move, or delete
119+
a `v*` tag. Admins can bypass these rules.
120+
110121
The sandbox tests need KVM or Apple silicon, so run `make smoke`,
111122
`make project-config`, and `make e2e` on your machine before a release.
112123

0 commit comments

Comments
 (0)