Merge commit '1cb75d60bb0fcff217cf88387c5c2ba2d514efa1'

master
Stefan Reimer 3 weeks ago
commit 5a14fd92b2
  1. 6
      .ci/podman.mk

@ -26,10 +26,12 @@ scan: build
@echo "Scanning $(REGISTRY)/$(IMAGE):$(TAG) using Trivy"
@trivy image $(TRIVY_OPTS) $(REGISTRY)/$(IMAGE):$(TAG)
push: build
@aws ecr-public get-login-password --region $(REGION) | docker login --username AWS --password-stdin $(REGISTRY)
push: ecr-login build
@for t in $(TAG) latest $(EXTRA_TAGS); do echo "tag and push: $$t"; docker tag $(IMAGE):$(TAG) $(REGISTRY)/$(IMAGE):$$t && docker push $(REGISTRY)/$(IMAGE):$$t; done
ecr-login:
@aws ecr-public get-login-password --region $(REGION) | docker login --username AWS --password-stdin $(REGISTRY)
clean: rm-test-image rm-image
# Delete all untagged images

Loading…
Cancel
Save