-
- Downloads
fix: goreleaser fips mode docker login cred passing
Part of https://gitlab.com/gitlab-com/gl-infra/gitlab-dedicated/team/-/issues/1312 Unfortunately due to the way permissons and volumes work in our CI Setup, it's best if we use `docker login` inside the goreleaser container, and to do that we need to pass a json file in a specific structure they require into the container. As described at https://gitlab.com/gitlab-org/gitlab-foss/-/issues/41227#note_52029664 we have to pass this file somewhere under `/builds`. However, it can't be in the current working directory, otherwise goreleaser complains about Git being in a dirty state (extra files not in Git) https://goreleaser.com/errors/dirty/.
Please register or sign in to comment