Skip to content

Commit

Permalink
update release workflow for latest tag
Browse files Browse the repository at this point in the history
  • Loading branch information
cauta committed May 16, 2024
1 parent 2e3eae2 commit adff117
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,22 @@ jobs:
run: |
cd app
VERSION=$(jq -r '.version' package.json)
docker build -f apps/onebox/Dockerfile --target production -t registry.gitlab.com/cauta/onebox:${VERSION} .
docker build -f apps/onebox/Dockerfile --target production -t registry.gitlab.com/cauta/onebox:${VERSION} -t registry.gitlab.com/cauta/onebox:latest .
docker push registry.gitlab.com/cauta/onebox:${VERSION}
docker push registry.gitlab.com/cauta/onebox:latest
- 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 registry.gitlab.com/cauta/crypitor-monitor:${VERSION} .
docker build -f apps/monitor-service/Dockerfile --target production -t registry.gitlab.com/cauta/crypitor-monitor:${VERSION} -t registry.gitlab.com/cauta/crypitor-monitor:latest .
docker push registry.gitlab.com/cauta/crypitor-monitor:${VERSION}
docker push registry.gitlab.com/cauta/crypitor-monitor:latest
- 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 registry.gitlab.com/cauta/crypitor-worker:${VERSION} .
docker build -f apps/worker-service/Dockerfile --target production -t registry.gitlab.com/cauta/crypitor-worker:${VERSION} -t registry.gitlab.com/cauta/crypitor-worker:latest .
docker push registry.gitlab.com/cauta/crypitor-worker:${VERSION}
docker push registry.gitlab.com/cauta/crypitor-worker:latest

0 comments on commit adff117

Please sign in to comment.