Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/docker-publish-calm-hub-native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,20 @@ jobs:
needs: build

steps:
- name: Checkout
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6

- name: Set up JDK
uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5
with:
distribution: 'temurin'
java-version: '21'

- name: Resolve CALM Hub version
id: version
working-directory: calm-hub
run: echo "value=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> "$GITHUB_OUTPUT"

- name: Download digests
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
with:
Expand All @@ -193,6 +207,7 @@ jobs:
images: ${{ secrets.DOCKER_USERNAME }}/calm-hub
tags: |
type=raw,value=${{ github.event.inputs.tag || 'latest-native' }}
type=raw,value=${{ steps.version.outputs.value }}-native
type=sha,format=short,suffix=-native
type=ref,event=tag,suffix=-native

Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/docker-publish-calm-hub-readonly-native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,20 @@ jobs:
needs: build

steps:
- name: Checkout
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6

- name: Set up JDK
uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5
with:
distribution: 'temurin'
java-version: '21'

- name: Resolve CALM Hub version
id: version
working-directory: calm-hub
run: echo "value=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> "$GITHUB_OUTPUT"

- name: Download digests
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
with:
Expand All @@ -187,6 +201,7 @@ jobs:
images: ${{ secrets.DOCKER_USERNAME }}/calm-hub
tags: |
type=raw,value=${{ github.event.inputs.tag || 'latest-read-only-native' }}
type=raw,value=${{ steps.version.outputs.value }}-read-only-native
type=sha,format=short,suffix=-read-only-native
type=ref,event=tag,suffix=-read-only-native

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/docker-publish-calm-hub-readonly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ jobs:
- name: Build and stage seed content
run: bash calm-hub/build-readonly-image.sh --no-docker

- name: Resolve CALM Hub version
id: version
working-directory: calm-hub
run: echo "value=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> "$GITHUB_OUTPUT"

# Step 5: Set up Docker Buildx for multi-architecture builds
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
Expand All @@ -75,6 +80,7 @@ jobs:
images: ${{ secrets.DOCKER_USERNAME }}/calm-hub
tags: |
type=raw,value=${{ github.event.inputs.tag || 'latest-read-only-static' }}
type=raw,value=${{ steps.version.outputs.value }}-read-only-static
type=sha,format=short,suffix=-read-only-static
type=ref,event=tag,suffix=-read-only-static

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/docker-publish-calm-hub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ jobs:
working-directory: calm-hub
run: mvn -P integration clean package -Ddependency-check.skip=true

- name: Resolve CALM Hub version
id: version
working-directory: calm-hub
run: echo "value=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> "$GITHUB_OUTPUT"

# Step 5: Set up Docker Buildx for multi-architecture builds
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
Expand All @@ -74,6 +79,7 @@ jobs:
images: ${{ secrets.DOCKER_USERNAME }}/calm-hub
tags: |
type=raw,value=${{ github.event.inputs.tag || 'latest' }}
type=raw,value=${{ steps.version.outputs.value }}
type=sha,format=short
type=ref,event=branch
type=ref,event=tag
Expand Down
Loading