mirror of
https://github.com/anchore/syft.git
synced 2026-11-01 06:56:40 +01:00
move docker login after keychain creation
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
@@ -288,6 +288,10 @@ release: clean-dist changelog-release ## Build and publish final binaries and pa
|
||||
# Prepare for macOS-specific signing process
|
||||
.github/scripts/mac-prepare-for-signing.sh
|
||||
|
||||
# login to docker
|
||||
# note: the previous step creates a new keychain, so it is important to reauth into docker.io
|
||||
@echo $${DOCKER_PASSWORD} | docker login docker.io -u $${DOCKER_USERNAME} --password-stdin
|
||||
|
||||
# create a config with the dist dir overridden
|
||||
echo "dist: $(DISTDIR)" > $(TEMPDIR)/goreleaser.yaml
|
||||
cat .goreleaser.yaml >> $(TEMPDIR)/goreleaser.yaml
|
||||
|
||||
Reference in New Issue
Block a user