Skip to content

Commit

Permalink
Ops-7465-add-suffix-to-moodle-tools-image (#84)
Browse files Browse the repository at this point in the history
* add suffix

* add suffix to image build
  • Loading branch information
maxi418 authored Jan 24, 2025
1 parent 98bd300 commit d8510bc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/moodle-tools-bap-on-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ jobs:
uses: olegtarasov/[email protected]
id: tag
with:
tagRegex: "(?<tag>[0-9]+.[0-9]+.[0-9]+)"
tagRegex: "(?<tag>[0-9]+.[0-9]+.[0-9]+)(?<suffix>-.*)"

build_and_push:
permissions:
packages: write
Expand All @@ -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/"

0 comments on commit d8510bc

Please sign in to comment.