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 ebf988c commit 9dabf6d
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.aladhan.com
IMAGE_NAME: quay.io/islamic-network/api.aladhan.com
docker:
- image: circleci/buildpack-deps:stretch
php72:
docker:
- image: vesica/php72
- image: quay.io/vesica/php72
- image: memcached:1.5
working_directory: ~/repo

Expand Down Expand Up @@ -73,7 +73,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 @@ -88,7 +88,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/php72:latest
FROM quay.io/vesica/php72: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 @@ -23,7 +23,7 @@ The api and all its dependencies are fully Dockerised. You **just need docker an

You should enter your Google Maps API Key and Ask Geo Account ID and keys in the docker-compose file on lines 27, 28 and 29.

A production ready Docker image of the app is published as vesica/api.aladhan.com on Docker Hub (https://hub.docker.com/r/vesica/api.aladhan.com/).
A production ready Docker image of the app is published as quay.io/islamic-network/api.aladhan.com on Quay.io.

To get your own instance up, simply run:

Expand Down

0 comments on commit 9dabf6d

Please sign in to comment.