Skip to content

Commit

Permalink
LOG-1700: Fix ES-Proxy master to version 1.0
Browse files Browse the repository at this point in the history
  Parent Task: https://issues.redhat.com/browse/LOG-1635 Make operand images reusable across openshift-logging releases
  • Loading branch information
vimalk78 committed Aug 17, 2021
1 parent cd55354 commit 9dc6568
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Makefile
Expand Up @@ -47,7 +47,14 @@ vendor:
.PHONY: vendor

image:
podman build -f Dockerfile -t $(LOCAL_IMAGE_TAG) .
CI_CONTAINER_VERSION="1.0" \
CI_X_VERSION="1" \
CI_Y_VERSION="0" \
CI_Z_VERSION="0" \
CI_ELASTICSEARCH_PROXY_UPSTREAM_COMMIT=$(shell git rev-parse HEAD) \
CI_ELASTICSEARCH_PROXY_UPSTREAM_URL="https://github.com/openshift/elasticsearch-proxy" \
envsubst '$${CI_CONTAINER_VERSION} $${CI_X_VERSION} $${CI_Y_VERSION} $${CI_Z_VERSION} $${CI_ELASTICSEARCH_PROXY_UPSTREAM_COMMIT} $${CI_ELASTICSEARCH_PROXY_UPSTREAM_URL}' < Dockerfile > Dockerfile.out
podman build -f Dockerfile.out -t $(LOCAL_IMAGE_TAG) .
.PHONY: image

deploy-image: image
Expand Down

0 comments on commit 9dc6568

Please sign in to comment.