From 0ca97d0555a8baf503ca0d0e95e5688a2f22c10e Mon Sep 17 00:00:00 2001 From: Nils Dijk Date: Tue, 1 Aug 2023 13:28:37 +0000 Subject: [PATCH] only build when devcontainer spec changes + use branch build --- .devcontainer/devcontainer.json | 2 +- .github/workflows/devcontainer.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index c04e2a981..ab01f7787 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,5 +1,5 @@ { - "image": "ghcr.io/citusdata/citus-devcontainer:dev-20230727", + "image": "ghcr.io/citusdata/citus-devcontainer:dev-devcontainer", "runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", diff --git a/.github/workflows/devcontainer.yml b/.github/workflows/devcontainer.yml index 584c213d8..a4679d7da 100644 --- a/.github/workflows/devcontainer.yml +++ b/.github/workflows/devcontainer.yml @@ -4,6 +4,8 @@ on: push: branches: - "dev/devcontainer" + paths: + - ".devcontainer/**" workflow_dispatch: jobs: