Skip to content

Commit 500584c

Browse files
committed
chore: also build cubejs/cube image
1 parent 56e2239 commit 500584c

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

.github/workflows/image-build.yaml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
username: _json_key
3636
password: ${{ secrets.GCLOUD_SERVICE_KEY_FILE }}
3737

38-
- name: Build and push
38+
- name: Build and push (cubestore)
3939
uses: docker/build-push-action@v6
4040
env:
4141
DOCKER_BUILD_CHECKS_ANNOTATIONS: false
@@ -56,3 +56,25 @@ jobs:
5656
us-central1-docker.pkg.dev/gorgias-revenue-production/container-images/cubestore:${{ env.TAG }}
5757
cache-from: type=inline,image-manifest=true
5858
cache-to: type=inline,image-manifest=true
59+
60+
- name: Build and push (cube)
61+
uses: docker/build-push-action@v6
62+
env:
63+
DOCKER_BUILD_CHECKS_ANNOTATIONS: false
64+
DOCKER_BUILD_RECORD_UPLOAD: false
65+
DOCKER_BUILD_SUMMARY: true
66+
with:
67+
push: ${{ github.ref == 'refs/heads/gorgias' }}
68+
context: packages/cubejs-docker
69+
file: packages/cubejs-docker/latest.Dockerfile
70+
tags: |
71+
us-east1-docker.pkg.dev/gorgias-helpdesk-staging/container-images/cube:${{ github.sha }}
72+
us-central1-docker.pkg.dev/gorgias-revenue-staging/container-images/cube:${{ github.sha }}
73+
us-east1-docker.pkg.dev/gorgias-helpdesk-production/container-images/cube:${{ github.sha }}
74+
us-central1-docker.pkg.dev/gorgias-revenue-production/container-images/cube:${{ github.sha }}
75+
us-east1-docker.pkg.dev/gorgias-helpdesk-staging/container-images/cube:${{ env.TAG }}
76+
us-central1-docker.pkg.dev/gorgias-revenue-staging/container-images/cube:${{ env.TAG }}
77+
us-east1-docker.pkg.dev/gorgias-helpdesk-production/container-images/cube:${{ env.TAG }}
78+
us-central1-docker.pkg.dev/gorgias-revenue-production/container-images/cube:${{ env.TAG }}
79+
cache-from: type=inline,image-manifest=true
80+
cache-to: type=inline,image-manifest=true

0 commit comments

Comments
 (0)