Skip to content

Commit

Permalink
Alias docker tags without Keycloak minor/patch version
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-shuy committed Jun 24, 2024
1 parent 7eb7675 commit 64547c2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,12 @@ jobs:
- name: Expose GitHub Runtime
uses: crazy-max/[email protected]

- name: Compute SemVer parts of Keycloak version
id: keycloak_semver
uses: madhead/semver-utils@v3
with:
version: ${{ matrix.env.KEYCLOAK_VERSION }}

- name: Set up Docker Build Metadata
id: docker_meta
uses: docker/[email protected]
Expand All @@ -116,6 +122,9 @@ jobs:
type=ref,event=pr
type=semver,event=tag,pattern={{version}}
type=raw,event=tag,value=latest,enable=${{ !contains(github.ref_name, 'rc') }}
# alias tags without Keycloak minor/patch version
type=semver,event=tag,pattern={{version}},suffix=-${{ steps.keycloak_semver.outputs.major }}
type=raw,event=tag,value=latest,enable=${{ !contains(github.ref_name, 'rc') }},suffix=-${{ steps.keycloak_semver.outputs.major }}
labels: |
maintainer=adorsys GmbH & Co. KG
Expand Down
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

### Added
- Alias docker tags without Keycloak minor/patch version

### Fixed
- Importing more than 10 subgroups into a realm

Expand Down Expand Up @@ -53,9 +56,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- Extended maven-replacer-plugin with breaking changes
- Using util classes as replacement strategy for breaking changes (GroupUtil, SubGroupUtil)

### Added
- Alias docker tags without Keycloak minor/patch version

## [5.9.0] - 2023-10-13
- Updated CI to use Keycloak 22.0.4

Expand Down

0 comments on commit 64547c2

Please sign in to comment.