From 2d478efd9f49ea8022094e53a3451854c6d53e2c Mon Sep 17 00:00:00 2001 From: Alex Luker Date: Wed, 4 Sep 2024 16:09:46 +0100 Subject: [PATCH] Add ci action to deploy main to production --- .github/workflows/deploy-main.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/deploy-main.yml diff --git a/.github/workflows/deploy-main.yml b/.github/workflows/deploy-main.yml new file mode 100644 index 0000000..840799d --- /dev/null +++ b/.github/workflows/deploy-main.yml @@ -0,0 +1,18 @@ +name: Create and publish a Docker image + +on: + push: + branches: ['main'] + +jobs: + build-and-push-image: + permissions: + contents: read + packages: write + attestations: write + id-token: write + uses: ./.github/workflows/build-and-deploy.yml + with: + jelastic_env: fdc-producer + secrets: inherit + \ No newline at end of file