Skip to content

Commit

Permalink
build image on main branch push
Browse files Browse the repository at this point in the history
  • Loading branch information
Glutamat42 committed Jan 27, 2025
1 parent 7f0fa84 commit af48fe1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Moodle Plugin CI
on:
release:
types: [ created ]
push:
branches: [ main ]

jobs:
release:
Expand Down Expand Up @@ -33,7 +35,7 @@ jobs:
tags: |
type=raw,value=moodle-${{ matrix.moodle_version }}
type=raw,value=latest-moodle-${{ matrix.moodle_version }}
type=semver,pattern={{version}}-moodle-${{ matrix.moodle_version }}
type=raw,value=${{ github.ref_name }}-moodle-${{ matrix.moodle_version }}
type=semver,pattern={{major}}.{{minor}}-moodle-${{ matrix.moodle_version }}
type=semver,pattern={{major}}-moodle-${{ matrix.moodle_version }}
Expand Down

0 comments on commit af48fe1

Please sign in to comment.