Skip to content

Commit

Permalink
Move to GHCR
Browse files Browse the repository at this point in the history
  • Loading branch information
Shai Katz committed Mar 4, 2021
1 parent c077c84 commit 8221bef
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,15 +172,15 @@ jobs:
name: Docker push version
working_directory: "init-container/tests"
command: |
docker login -u $DOCKERHUB_USERNAME -p $DOCKERHUB_PASSWORD
docker login ghcr.io -u $GHCR_USERNAME -p $GHCR_PASSWORD
docker push soluto/kamus:$DECRYPTOR_API_DOCKER_TAG
docker push soluto/kamus:$ENCRYPTOR_API_DOCKER_TAG
docker push soluto/kamus:$CONTROLLER_API_DOCKER_TAG
- run:
name: Docker push latest
working_directory: "init-container/tests"
command: |
docker login -u $DOCKERHUB_USERNAME -p $DOCKERHUB_PASSWORD
docker login ghcr.io -u $GHCR_USERNAME -p $GHCR_USERNAME
docker tag soluto/kamus:$DECRYPTOR_API_DOCKER_TAG soluto/kamus:decryptor-latest
docker tag soluto/kamus:$ENCRYPTOR_API_DOCKER_TAG soluto/kamus:encryptor-latest
docker tag soluto/kamus:$CONTROLLER_API_DOCKER_TAG soluto/kamus:contoller-latest
Expand Down Expand Up @@ -247,13 +247,13 @@ jobs:
name: Docker push
working_directory: "init-container/tests"
command: |
docker login -u $DOCKERHUB_USERNAME -p $DOCKERHUB_PASSWORD
docker login ghcr.io -u $GHCR_USERNAME -p $GHCR_USERNAME
docker push soluto/kamus-init-container:$INIT_CONTAINER_DOCKER_TAG
- run:
name: Docker push latest
working_directory: "init-container/tests"
command: |
docker login -u $DOCKERHUB_USERNAME -p $DOCKERHUB_PASSWORD
docker login ghcr.io -u $GHCR_USERNAME -p $GHCR_USERNAME
docker tag soluto/kamus-init-container:$INIT_CONTAINER_DOCKER_TAG soluto/kamus-init-container:latest
docker push soluto/kamus-init-container:latest
- run:
Expand Down Expand Up @@ -286,13 +286,13 @@ jobs:
- run:
name: Docker push
command: |
docker login -u $DOCKERHUB_USERNAME -p $DOCKERHUB_PASSWORD
docker login ghcr.io -u $GHCR_USERNAME -p $GHCR_USERNAME
docker push soluto/kamus-cli:$CLI_DOCKER_TAG
- run:
name: Docker push latest
command: |
docker tag soluto/kamus-cli:$CLI_DOCKER_TAG soluto/kamus-cli:latest
docker login -u $DOCKERHUB_USERNAME -p $DOCKERHUB_PASSWORD
docker login ghcr.io -u $GHCR_USERNAME -p $GHCR_USERNAME
docker push soluto/kamus-cli:latest
- run:
name: push tags
Expand Down

0 comments on commit 8221bef

Please sign in to comment.