Skip to content

Commit

Permalink
Push docker images to quay.io
Browse files Browse the repository at this point in the history
  • Loading branch information
Meezaan-ud-Din Abdu Dhil-Jalali Wal-Ikram / مِيزَانُ الْدِّينْ عَبْدُ ذِيْ الْجَلَالِ وَ الْإِكْرَامِ authored Apr 28, 2019
1 parent e3e2274 commit aac7db7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 2.1
executors:
docker-publisher:
environment:
IMAGE_NAME: vesica/alquran.cloud
IMAGE_NAME: quay.io/islamic-network/alquran.cloud
docker:
- image: circleci/buildpack-deps:stretch
php72:
Expand Down Expand Up @@ -70,9 +70,9 @@ jobs:
name: Load archived Docker image
command: docker load -i /tmp/workspace/prod.tar
- run:
name: Publish Docker Image to Docker Hub
name: Publish Docker Image to Quay.io
command: |
echo "$DOCKERHUB_PASSWORD" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin
echo "$QUAYIO_PASSWORD" | docker login -u "$QUAYIO_USERNAME" --password-stdin
IMAGE_TAG="${CIRCLE_BUILD_NUM}"
docker push $IMAGE_NAME:latest
publish-docker-tag:
Expand All @@ -85,9 +85,9 @@ jobs:
name: Load archived Docker image
command: docker load -i /tmp/workspace/prod.tar
- run:
name: Publish Docker Image to Docker Hub
name: Publish Docker Image to Quay.io
command: |
echo "$DOCKERHUB_PASSWORD" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin
echo "$QUAYIO_PASSWORD" | docker login -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

0 comments on commit aac7db7

Please sign in to comment.