From de36c1d1db9bd55387bc97bba9a698feffd1c28a Mon Sep 17 00:00:00 2001 From: Jaap Blom Date: Wed, 2 Oct 2024 09:14:44 +0200 Subject: [PATCH] add action that builds/pushes new image for main --- .github/workflows/main.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..74cbeba --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,22 @@ +name: main branch - test; build & push to ghcr + +on: + push: + branches: + - main + paths-ignore: + - README.md + - LICENSE + +jobs: + test: + uses: ./.github/workflows/check-project.yml + + build-push-image: + uses: beeldengeluid/gha-workflows/.github/workflows/build-push-image.yml@71d9cba5e50f829007d4ba9391e827ddc3864d0c # v2024.09.02 + secrets: inherit + needs: [test] + permissions: + contents: read + packages: write + id-token: write \ No newline at end of file