bitwarden / self-host

Bitwarden's self-hosted release repository
GNU General Public License v3.0
316 stars 55 forks source link

Fix build and release logic for Unified #136

Closed vgrassia closed 1 year ago

vgrassia commented 1 year ago

build-unified.yml

When the build-unified.yml workflow was called from the server repository on the rc branch, it was setting the IMAGE_TAG as rc. This led to the Generate tag list step never generating a tag for Docker Hub. I added the elif statement to the Generate Docker image tag step to fix this issue by setting the tag to beta.

release.yml

Inside of the release-unified job, it was trying to pull bitwarden/self-host:rc which has never existed on Docker Hub. We need to pull the beta tag and release that as bitwarden/self-host:v202X.X.X-beta. Changing all of the pull and tag steps to use the beta tag fixes this issue.

In the future, when we release Unified to GA we will need to update both workflows to use our standard release/tagging processes at that time.

bitwarden-bot commented 1 year ago

Logo Checkmarx One – Scan Summary & Details4e3e3cf3-d10b-4237-bdb3-c0c3427a4088

No New Or Fixed Issues Found