From 8ce40cf16caf156ecbd919692cc472b35adfe2d0 Mon Sep 17 00:00:00 2001 From: Maximilian Greve Date: Fri, 29 Nov 2024 12:28:11 +0000 Subject: [PATCH 1/2] add suffix --- .github/workflows/moodle-tools-bap-on-tag.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/moodle-tools-bap-on-tag.yaml b/.github/workflows/moodle-tools-bap-on-tag.yaml index ff4bc8d..6e930a2 100644 --- a/.github/workflows/moodle-tools-bap-on-tag.yaml +++ b/.github/workflows/moodle-tools-bap-on-tag.yaml @@ -16,7 +16,7 @@ jobs: uses: olegtarasov/get-tag@v2.1 id: tag with: - tagRegex: "(?[0-9]+.[0-9]+.[0-9]+)" + tagRegex: "(?[0-9]+.[0-9]+.[0-9]+)(?-.*)" build_and_push: permissions: packages: write From d6c5fbb924352c8f230ba1f64436d2cfec484937 Mon Sep 17 00:00:00 2001 From: Maximilian Greve Date: Fri, 29 Nov 2024 12:33:45 +0000 Subject: [PATCH 2/2] add suffix to image build --- .github/workflows/moodle-tools-bap-on-tag.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/moodle-tools-bap-on-tag.yaml b/.github/workflows/moodle-tools-bap-on-tag.yaml index 6e930a2..0a29be3 100644 --- a/.github/workflows/moodle-tools-bap-on-tag.yaml +++ b/.github/workflows/moodle-tools-bap-on-tag.yaml @@ -17,6 +17,7 @@ jobs: id: tag with: tagRegex: "(?[0-9]+.[0-9]+.[0-9]+)(?-.*)" + build_and_push: permissions: packages: write @@ -29,4 +30,5 @@ jobs: registry: ghcr.io image: dbildungsplattform/moodle-tools tag: ${{ needs.pre_build.outputs.tag }} + suffix: ${{ needs.pre_build.outputs.suffix }} context: "./moodle-tools/"