Skip to content

Commit

Permalink
feat: add dockerhub support
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoginth committed Sep 5, 2024
1 parent 0e62214 commit 1bdd64e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ deploy-api:
- docker login -u $DOCKERHUB_USERNAME -p $DOCKERHUB_TOKEN
- docker tag $GITLAB_IMAGE_TAG $DOCKERHUB_IMAGE_TAG
- docker push $DOCKERHUB_IMAGE_TAG
- curl https://redeploy.heyxyz.workers.dev?secret=$SECRET&service=$API_RAILWAY_SERVICE_ID

deploy-cron:
only:
Expand All @@ -90,6 +91,7 @@ deploy-cron:
- docker login -u $DOCKERHUB_USERNAME -p $DOCKERHUB_TOKEN
- docker tag $GITLAB_IMAGE_TAG $DOCKERHUB_IMAGE_TAG
- docker push $DOCKERHUB_IMAGE_TAG
- curl https://redeploy.heyxyz.workers.dev?secret=$SECRET&service=$CRON_RAILWAY_SERVICE_ID

deploy-og:
only:
Expand All @@ -110,3 +112,4 @@ deploy-og:
- docker login -u $DOCKERHUB_USERNAME -p $DOCKERHUB_TOKEN
- docker tag $GITLAB_IMAGE_TAG $DOCKERHUB_IMAGE_TAG
- docker push $DOCKERHUB_IMAGE_TAG
- curl https://redeploy.heyxyz.workers.dev?secret=$SECRET&service=$OG_RAILWAY_SERVICE_ID

0 comments on commit 1bdd64e

Please sign in to comment.