diff --git a/README.md b/README.md index a0dfd1b..f94ed77 100644 --- a/README.md +++ b/README.md @@ -57,11 +57,14 @@ Official Docker images are provided at [hub.docker.com/r/ipfs/bifrost-gateway](h - Releases - `latest` and `release` always point at the latest release - - `vN.N.N` point at a specific [release tag](https://github.com/ipfs/bifrost-gateway/releases) + - `vN.N.N` point at a specific [release tag](https://github.com/ipfs/bifrost-gateway/releases) - Developer builds - `main-latest` always points at the `HEAD` of the `main` branch - - `main-YYYY-DD-MM-GITSHA` points at a specific commit from the `main` branch - + - `main-YYYY-DD-MM-GITSHA` points at a specific commit from the `main` branch +- Experimental, unstable builds + - `staging-latest` always points at the `HEAD` of the `staging` branch + - `staging-YYYY-DD-MM-GITSHA` points at a specific commit from the `main` branch + - This tag is used by developers for internal testing, not intended for end users When using Docker, make sure to pass necessary config via `-e`: ```console diff --git a/docker/get-docker-tags.sh b/docker/get-docker-tags.sh index e14b3a4..1b4409f 100755 --- a/docker/get-docker-tags.sh +++ b/docker/get-docker-tags.sh @@ -50,6 +50,10 @@ elif [ "$GIT_BRANCH" = "main" ]; then echoImageName "main-${BUILD_NUM}-${GIT_SHA1_SHORT}" echoImageName "main-latest" +elif [ "$GIT_BRANCH" = "staging" ]; then + echoImageName "staging-${BUILD_NUM}-${GIT_SHA1_SHORT}" + echoImageName "staging-latest" + else echo "Nothing to do. No docker tag defined for branch: $GIT_BRANCH, tag: $GIT_TAG"