Skip to content

Commit 61a6040

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

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

.github/workflows/image-build.yaml

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

38-
- name: Build and push
38+
- name: Build and push (cubejs)
39+
uses: docker/build-push-action@v6
40+
env:
41+
DOCKER_BUILD_CHECKS_ANNOTATIONS: false
42+
DOCKER_BUILD_RECORD_UPLOAD: false
43+
DOCKER_BUILD_SUMMARY: true
44+
with:
45+
context: packages/cubejs-docker
46+
file: packages/cubejs-docker/latest.Dockerfile
47+
tags: |
48+
us-east1-docker.pkg.dev/gorgias-helpdesk-staging/container-images/cubejs:${{ github.sha }}
49+
us-central1-docker.pkg.dev/gorgias-revenue-staging/container-images/cubejs:${{ github.sha }}
50+
us-east1-docker.pkg.dev/gorgias-helpdesk-production/container-images/cubejs:${{ github.sha }}
51+
us-central1-docker.pkg.dev/gorgias-revenue-production/container-images/cubejs:${{ github.sha }}
52+
us-east1-docker.pkg.dev/gorgias-helpdesk-staging/container-images/cubejs:${{ env.TAG }}
53+
us-central1-docker.pkg.dev/gorgias-revenue-staging/container-images/cubejs:${{ env.TAG }}
54+
us-east1-docker.pkg.dev/gorgias-helpdesk-production/container-images/cubejs:${{ env.TAG }}
55+
us-central1-docker.pkg.dev/gorgias-revenue-production/container-images/cubejs:${{ env.TAG }}
56+
cache-from: type=inline,image-manifest=true
57+
cache-to: type=inline,image-manifest=true
58+
59+
- name: Build and push (cubestore)
3960
uses: docker/build-push-action@v6
4061
env:
4162
DOCKER_BUILD_CHECKS_ANNOTATIONS: false

0 commit comments

Comments
 (0)