Skip to content

Commit

Permalink
Merge pull request #1069 from daniel-shuy/patch-1
Browse files Browse the repository at this point in the history
Alias docker tags without Keycloak minor/patch version
  • Loading branch information
jonasvoelcker authored Jun 25, 2024
2 parents 7ce8896 + 64547c2 commit cf28b9d
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 @@ -104,6 +104,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 @@ -117,6 +123,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 @@ -8,6 +8,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- Updated CI to use Keycloak 25.0.1
- Identity Providers are now updated using the name of policies, scopes and resources

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

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

Expand Down Expand Up @@ -55,9 +58,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 cf28b9d

Please sign in to comment.