Skip to content

Commit

Permalink
Quay.io
Browse files Browse the repository at this point in the history
  • Loading branch information
Meezaan-ud-Din Abdu Dhil-Jalali Wal-Ikram committed Apr 28, 2019
1 parent f6097f7 commit d98e553
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM vesica/php73:latest
FROM quay.io/vesica/php73:latest

# Copy files
RUN cd ../ && rm -rf /var/www/html
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit d98e553

Please sign in to comment.