diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0b94665..76d2018 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,6 +4,9 @@ name: publish docker image on: push: branches: ['main'] + paths: + - 'Dockerfile' + - '.github/workflows/build.yml' env: REGISTRY: ghcr.io diff --git a/README.md b/README.md index 5bc4f24..e6ccfe1 100644 --- a/README.md +++ b/README.md @@ -5,3 +5,8 @@ This is a Docker image for Atlantis with Cdktf and Bun. It is based on the official Atlantis image, but with Cdktf and Bun installed. It is intended to be used in a CI/CD pipeline to deploy infrastructure as code. + +## References + +- https://www.runatlantis.io/docs/custom-workflows.html#cdktf +- https://github.com/runatlantis/atlantis/pkgs/container/atlantis \ No newline at end of file