mirror of
https://github.com/external-secrets/external-secrets.git
synced 2024-12-14 11:57:59 +00:00
Fixing release pipeline for boringssl (#1763)
Signed-off-by: Gustavo Carvalho <gusfcarvalho@gmail.com>
This commit is contained in:
parent
0cb799b5cf
commit
8492c28e77
1 changed files with 3 additions and 3 deletions
6
Makefile
6
Makefile
|
@ -236,12 +236,12 @@ SOURCE_TAG ?= $(VERSION)$(TAG_SUFFIX)
|
|||
|
||||
docker.promote: ## Promote the docker image to the registry
|
||||
@$(INFO) promoting $(SOURCE_TAG) to $(RELEASE_TAG)
|
||||
docker manifest inspect $(IMAGE_NAME):$(SOURCE_TAG) > .tagmanifest
|
||||
for digest in $$(jq -r '.manifests[].digest' < .tagmanifest); do \
|
||||
docker manifest inspect --verbose $(IMAGE_NAME):$(SOURCE_TAG) > .tagmanifest
|
||||
for digest in $$(jq -r 'if type=="array" then .[].Descriptor.digest else .Descriptor.digest end' < .tagmanifest); do \
|
||||
docker pull $(IMAGE_NAME)@$$digest; \
|
||||
done
|
||||
docker manifest create $(IMAGE_NAME):$(RELEASE_TAG) \
|
||||
$$(jq -j '"--amend $(IMAGE_NAME)@" + .manifests[].digest + " "' < .tagmanifest)
|
||||
$$(jq -j '"--amend $(IMAGE_NAME)@" + if type=="array" then .[].Descriptor.digest else .Descriptor.digest end + " "' < .tagmanifest)
|
||||
docker manifest push $(IMAGE_NAME):$(RELEASE_TAG)
|
||||
@$(OK) docker push $(RELEASE_TAG) \
|
||||
|
||||
|
|
Loading…
Reference in a new issue