diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 598fd96..4f1580f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,10 @@ on: permissions: read-all env: - IMAGE: gluwa/usc-message-relayer + # Docker Hub repo name, which had lagged the GitHub rename (usc- -> asc-). The old + # gluwa/usc-message-relayer keeps its existing tags and is not deleted, so anything still + # pinned to a published usc- tag (e.g. 0.6.0) keeps pulling; new builds publish here. + IMAGE: gluwa/asc-message-relayer jobs: image: diff --git a/README.md b/README.md index 4aaabd4..abfaadc 100644 --- a/README.md +++ b/README.md @@ -246,9 +246,9 @@ for the wire protocol. ### Docker ```bash -docker build -t gluwa/usc-message-relayer:$(git rev-parse --short HEAD) . +docker build -t gluwa/asc-message-relayer:$(git rev-parse --short HEAD) . # from Apple Silicon for an amd64 cluster: -docker buildx build --platform linux/amd64 -t gluwa/usc-message-relayer: --push . +docker buildx build --platform linux/amd64 -t gluwa/asc-message-relayer: --push . ``` Two-stage build; runtime is `debian:bookworm-slim` with the binary at `/bin/message-relayer` @@ -256,7 +256,7 @@ Two-stage build; runtime is `debian:bookworm-slim` with the binary at `/bin/mess git SHA so what's running is never ambiguous. CI publishes images automatically (`.github/workflows/release.yml`): every push to `main` → -`gluwa/usc-message-relayer:main` + `:main-`; every `v*` tag → `:vX.Y.Z` + `:latest`, plus a +`gluwa/asc-message-relayer:main` + `:main-`; every `v*` tag → `:vX.Y.Z` + `:latest`, plus a GitHub Release with the linux-amd64 binary. Pull requests run fmt / clippy (`-D warnings`) / taplo / cargo-machete / tests / a no-push Docker build (`ci.yml`). Publishing requires the `DOCKERHUB_USERNAME` / `DOCKERHUB_TOKEN` repo secrets.