From d98e553595d160baa4d16ad2656b0a03b9063407 Mon Sep 17 00:00:00 2001 From: Meezaan-ud-Din Abdu Dhil-Jalali Wal-Ikram Date: Sun, 28 Apr 2019 05:31:16 +0100 Subject: [PATCH] Quay.io --- .circleci/config.yml | 8 ++++---- Dockerfile | 2 +- README.md | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 4b93c2e..a3d5c06 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,12 +2,12 @@ version: 2.1 executors: docker-publisher: environment: - IMAGE_NAME: vesica/api.alquran.cloud + IMAGE_NAME: quay.io/islamic-network/api.alquran.cloud docker: - image: circleci/buildpack-deps:stretch php72: docker: - - image: vesica/php72 + - image: quay.io/vesica/php73 working_directory: ~/repo jobs: @@ -72,7 +72,7 @@ jobs: - run: name: Publish Docker Image to Docker Hub command: | - echo "$DOCKERHUB_PASSWORD" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin + echo "$QUAYIO_PASSWORD" | docker login quay.io -u "$QUAYIO_USERNAME" --password-stdin IMAGE_TAG="${CIRCLE_BUILD_NUM}" docker push $IMAGE_NAME:latest publish-docker-tag: @@ -87,7 +87,7 @@ jobs: - run: name: Publish Docker Image to Docker Hub command: | - echo "$DOCKERHUB_PASSWORD" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin + echo "$QUAYIO_PASSWORD" | docker login quay.io -u "$QUAYIO_USERNAME" --password-stdin IMAGE_TAG=${CIRCLE_TAG} docker tag $IMAGE_NAME:latest $IMAGE_NAME:$IMAGE_TAG docker push $IMAGE_NAME:$IMAGE_TAG diff --git a/Dockerfile b/Dockerfile index cce7fd9..579fc7c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM vesica/php73:latest +FROM quay.io/vesica/php73:latest # Copy files RUN cd ../ && rm -rf /var/www/html diff --git a/README.md b/README.md index 0220d8c..dce45af 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ This repository powers the AlQuran.cloud API on http://api.alquran.cloud. The api and all its dependencies are fully Dockerised. You **just need docker and docker-compose** to spin everything up. -A production ready Docker image of the api is published as vesica/api.alquran.cloud on Docker Hub (https://hub.docker.com/r/vesica/api.alquran.cloud/). +A production ready Docker image of the api is published as quay.io/islamic-network/api.alquran.cloud on Quay.io. To get your own instance up, simply run: