Skip to content
This repository is currently being migrated. It's locked while the migration is in progress.

Commit 47cb610

Browse files
committed
Setup pixi
1 parent d1599cd commit 47cb610

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
branches:
55
- singhals/add-some-cube
66
permissions:
7-
id-token: write # This is required for requesting the JWT
7+
id-token: write # This is required for requesting tghe JWT
88
contents: read # This is required for actions/checkout
99
jobs:
1010
deploy-cube:
@@ -30,7 +30,17 @@ jobs:
3030
env:
3131
REGISTRY: ${{ steps.login-ecr.outputs.registry }}
3232
REPOSITORY: sync-svc-cube
33-
IMAGE_TAG: ${{ github.sha }}
33+
IMAGE_TAG: "cubejs/cube:${{ github.sha }}"
3434
run: |
3535
docker build -t $REGISTRY/$REPOSITORY:$IMAGE_TAG .
3636
docker push $REGISTRY/$REPOSITORY:$IMAGE_TAG
37+
38+
- uses: prefix-dev/[email protected]
39+
with:
40+
cache: true
41+
locked: true
42+
- name: Update cube-api Task Definition with latest image
43+
run: pixi run python scripts/update_task.py --task-definition cube_api --container-name cube-api --image cubejs/cube:$IMAGE_TAG
44+
45+
- name: Update cube-refresh-worker Task Definition with latest image
46+
run: pixi run python scripts/update_task.py --task-definition cube_refresh_worker --container-name cube-refresh-worker --image cubejs/cube:$IMAGE_TAG

0 commit comments

Comments
 (0)