Skip to content

Commit

Permalink
fix: local-kms-db maven publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
jcmelati committed Jan 15, 2025
1 parent 6c3ba6b commit feacd1b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 12 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ jobs:
auto-tag:
needs: gradle
runs-on: ubuntu-latest
outputs:
version: ${{ steps.get_version_info.outputs.new_version }}
timeout-minutes: 15
if: github.event_name == 'repository_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.merged == true) || (github.event_name == 'push' && needs.gradle.outputs.success == 'true')
permissions:
Expand Down Expand Up @@ -143,12 +144,9 @@ jobs:
uses: docker/metadata-action@v5
with:
images: ${{ secrets.DOCKERHUB_USERNAME }}/openid-federation-server
strip.prefix: true
tags: |
type=raw,value=latest,enable={{is_default_branch}}
type=ref,event=tag
type=match,pattern=v(.*)-.*\..+,group=1
type=match,pattern=v(\d+\.\d+)\..*,group=1
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }}
type=raw,value=${{ needs.auto-tag.outputs.version }}
- name: Build and push federation-server
uses: docker/build-push-action@v5
Expand All @@ -170,12 +168,9 @@ jobs:
uses: docker/metadata-action@v5
with:
images: ${{ secrets.DOCKERHUB_USERNAME }}/openid-federation-admin-server
strip.prefix: true
tags: |
type=raw,value=latest,enable={{is_default_branch}}
type=ref,event=tag
type=match,pattern=v(.*)-.*\..+,group=1
type=match,pattern=v(\d+\.\d+)\..*,group=1
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }}
type=raw,value=${{ needs.auto-tag.outputs.version }}
- name: Build and push admin-server
uses: docker/build-push-action@v5
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ fun getNpmVersion(): String {

allprojects {
group = "com.sphereon.oid.fed"
version = "0.2.19-SNAPSHOT"
version = "0.2.20-SNAPSHOT"
val npmVersion by extra { getNpmVersion() }

// Common repository configuration for all projects
Expand Down

0 comments on commit feacd1b

Please sign in to comment.