From f5d70ea11a61763dc605d2d1075071685a7e7b0b Mon Sep 17 00:00:00 2001 From: marhode Date: Wed, 18 Sep 2024 16:59:28 +0200 Subject: [PATCH] Added moodle-toold GH action --- .../workflows/moodletoolstoghcr-on-push.yaml | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/moodletoolstoghcr-on-push.yaml diff --git a/.github/workflows/moodletoolstoghcr-on-push.yaml b/.github/workflows/moodletoolstoghcr-on-push.yaml new file mode 100644 index 0000000..c3fe76a --- /dev/null +++ b/.github/workflows/moodletoolstoghcr-on-push.yaml @@ -0,0 +1,21 @@ +--- +name: moodle-tools Docker Image on Push to GHCR + +on: + push: + branches-ignore: + - master + paths: + - 'moodle-tools/**' + +jobs: + build_image_on_push: + permissions: + packages: write + security-events: write + actions: read + contents: read + uses: ./.github/workflows/imagetoghcr-on-push.yaml + with: + image_name: "moodle-tools" + context: "./moodle-tools/"