Skip to content

Commit 39a546e

Browse files
committed
enable cache for dynamo build
1 parent fb89a01 commit 39a546e

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/container-validation-dynamo.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,15 @@ jobs:
3838
- name: Build image
3939
env:
4040
GITHUB_TOKEN: ${{ secrets.CI_TOKEN }}
41+
AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
42+
SCCACHE_S3_BUCKET: ${{ secrets.SCCACHE_S3_BUCKET }}
4143
run: |
42-
./container/build.sh --tag ${{ steps.define_image_tag.outputs.image_tag }} --target dev --framework none
44+
./container/build.sh --tag ${{ steps.define_image_tag.outputs.image_tag }} \
45+
--target dev \
46+
--framework none \
47+
--use-sccache \
48+
--sccache-bucket "$SCCACHE_S3_BUCKET" \
49+
--sccache-region "$AWS_DEFAULT_REGION"
4350
- name: Start services with docker-compose
4451
working-directory: ./deploy
4552
run: |

0 commit comments

Comments
 (0)