Skip to content

Commit

Permalink
update container registry
Browse files Browse the repository at this point in the history
  • Loading branch information
cauta committed Apr 11, 2024
1 parent 81db12d commit 6159ba3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,22 @@ jobs:
yarn && yarn build
- name: Log in to Docker Hub
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login registry.gitlab.com -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin

- name: Build and push Onebox Docker image
run: |
cd app
docker build -f apps/onebox/Dockerfile --target production -t crypitor/onebox:master .
docker push crypitor/onebox:master
docker build -f apps/onebox/Dockerfile --target production -t registry.gitlab.com/cauta/onebox:master .
docker push registry.gitlab.com/cauta/onebox:master
- name: Build and push Monitor Docker image
run: |
cd app
docker build -f apps/monitor-service/Dockerfile --target production -t crypitor/monitor:master .
docker push crypitor/monitor:master
docker build -f apps/monitor-service/Dockerfile --target production -t registry.gitlab.com/cauta/crypitor-monitor:master .
docker push registry.gitlab.com/cauta/crypitor-monitor:master
- name: Build and push Worker Docker image
run: |
cd app
docker build -f apps/worker-service/Dockerfile --target production -t crypitor/worker:master .
docker push crypitor/worker:master
docker build -f apps/worker-service/Dockerfile --target production -t registry.gitlab.com/cauta/crypitor-worker:master .
docker push registry.gitlab.com/cauta/crypitor-worker:master
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,25 @@ jobs:
yarn && yarn build
- name: Log in to Docker Hub
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login registry.gitlab.com -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin

- name: Build and push Onebox Docker image
run: |
cd app
VERSION=$(jq -r '.version' package.json)
docker build -f apps/onebox/Dockerfile --target production -t crypitor/onebox:${VERSION} .
docker push crypitor/onebox:$VERSION
docker build -f apps/onebox/Dockerfile --target production -t registry.gitlab.com/cauta/onebox:${VERSION} .
docker push registry.gitlab.com/cauta/onebox:${VERSION}
- name: Build and push Monitor Docker image
run: |
cd app
VERSION=$(jq -r '.version' package.json)
docker build -f apps/monitor-service/Dockerfile --target production -t crypitor/monitor:${VERSION} .
docker push crypitor/monitor:$VERSION
docker build -f apps/monitor-service/Dockerfile --target production -t registry.gitlab.com/cauta/crypitor-monitor:${VERSION} .
docker push registry.gitlab.com/cauta/crypitor-monitor:${VERSION}
- name: Build and push Worker Docker image
run: |
cd app
VERSION=$(jq -r '.version' package.json)
docker build -f apps/worker-service/Dockerfile --target production -t crypitor/worker:${VERSION} .
docker push crypitor/worker:$VERSION
docker build -f apps/worker-service/Dockerfile --target production -t registry.gitlab.com/cauta/crypitor-worker:${VERSION} .
docker push registry.gitlab.com/cauta/crypitor-worker:${VERSION}

0 comments on commit 6159ba3

Please sign in to comment.