container credentials (#868)

* Chore: add a snapshot target

* Update: support credentials for private containers

Resolves: #788

* fix: rework container credentials

Signed-off-by: hackercat <[email protected]>

* fix: check if Credentials are not nil

* fix: return on missing credentials key

Co-authored-by: hackercat <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
Till!
2021-11-27 18:05:56 +00:00
committed by GitHub
co-authored by hackercat mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
parent e793d03f4b
commit 5bdb9ed0fd
4 changed files with 88 additions and 11 deletions
+7
View File
@@ -104,3 +104,10 @@ ifneq ($(shell git status -s),)
endif
git tag -a -m "releasing v$(NEW_VERSION)" v$(NEW_VERSION)
git push origin v$(NEW_VERSION)
.PHONY: snapshot
snapshot:
goreleaser build \
--rm-dist \
--single-target \
--snapshot