Skip to content

Commit

Permalink
Servicedesk docker image GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
phavekes committed Jan 21, 2025
1 parent 70e067d commit 4c3d376
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ jobs:
/home/runner/work/OpenConext-myconext/OpenConext-myconext/myconext-server/target/myconext-server-${{ github.ref_name }}.jar
/home/runner/work/OpenConext-myconext/OpenConext-myconext/myconext-gui/target/myconext-gui-${{ github.ref_name }}.zip
/home/runner/work/OpenConext-myconext/OpenConext-myconext/account-gui/target/account-gui-${{ github.ref_name }}.zip
/home/runner/work/OpenConext-myconext/OpenConext-myconext/servicedesk-gui/target/servicedesk-gui-${{ github.ref_name }}.zip
token: ${{ secrets.GITHUB_TOKEN }}
fail_on_unmatched_files: true
generate_release_notes: true
Expand Down Expand Up @@ -132,6 +133,20 @@ jobs:
type=semver,pattern={{version}},value=${{ steps.versioncheck.outputs.version }}
type=sha
- name: Extract metadata (tags, labels) for servicedesk GUI Docker
id: meta_servidesk_gui
uses: docker/metadata-action@v5
with:
images: ghcr.io/openconext/openconext-myconext/servicedesk-gui
flavor: |
latest=false
tags: |
type=ref,event=tag
type=raw,event=tag,value=latest
type=raw,event=workflow_dispatch,value=snapshot
type=semver,pattern={{version}},value=${{ steps.versioncheck.outputs.version }}
type=sha
- name: Extract metadata (tags, labels) for Server Docker
id: meta_server
uses: docker/metadata-action@v5
Expand All @@ -156,6 +171,16 @@ jobs:
tags: ${{ steps.meta_account_gui.outputs.tags }}
labels: ${{ steps.meta_account_gui.outputs.labels }}

- name: Build and push the servidesk gui image
uses: docker/build-push-action@v5
with:
context: servidesk-gui
file: servidesk-gui/docker/Dockerfile
platforms: linux/amd64
push: true
tags: ${{ steps.meta_servidesk_gui.outputs.tags }}
labels: ${{ steps.meta_servidesk_gui.outputs.labels }}

- name: Build and push the myconext gui image
uses: docker/build-push-action@v5
with:
Expand Down

0 comments on commit 4c3d376

Please sign in to comment.