move images from gcr.io to quay.io

This commit is contained in:
Pat Christopher 2019-06-25 14:37:02 -07:00
parent e8738d665b
commit a1cda614dc
3 changed files with 14 additions and 11 deletions

View File

@ -56,11 +56,8 @@ Learn more in the [official Kubernetes documentation][k8sElasticsearchDocs].
## Building ## Building
Both images are now being hosted in google cloud and are built via the Both images are now being hosted in quay.io and are built locally via `make` and `docker`.
[cloud build](https://cloud.google.com/cloud-build/) product. To build these To build locally run `make build` and then `make push` to publish.
images yourself you will need to have the [gcloud sdk](https://cloud.google.com/sdk/install)
installed and you will need to login. You can then run `make` in either
image directory to trigger a container build.
### Known problems ### Known problems

View File

@ -12,11 +12,14 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
.PHONY: build .PHONY: build push
PREFIX = gcr.io/fluentd-elasticsearch PREFIX = quay.io/fluentd_elasticsearch
IMAGE = elasticsearch IMAGE = elasticsearch
TAG = v6.7.2 TAG = v6.7.2
build: build:
gcloud builds submit --tag ${PREFIX}/${IMAGE}:${TAG} docker build --tag ${PREFIX}/${IMAGE}:${TAG} .
push:
docker push ${PREFIX}/${IMAGE}:${TAG}

View File

@ -12,11 +12,14 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
.PHONY: build .PHONY: build push
PREFIX = gcr.io/fluentd-elasticsearch PREFIX = quay.io/fluentd_elasticsearch
IMAGE = fluentd IMAGE = fluentd
TAG = v2.5.2 TAG = v2.5.2
build: build:
gcloud builds submit --tag $(PREFIX)/$(IMAGE):$(TAG) docker build --tag ${PREFIX}/${IMAGE}:${TAG} .
push:
docker push ${PREFIX}/${IMAGE}:${TAG}