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
10 changes: 10 additions & 0 deletions .github/workflows/container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ on:
required: false
default: false
type: boolean
ref:
description: 'Git ref to checkout (branch, tag, or SHA)'
required: false
type: string
custom_tag:
description: 'Custom tag for the container image (for manual builds)'
required: false
type: string
env:
REGISTRY: ghcr.io
IMAGE_NAME: metaschema-framework/metaschema-cli
Expand All @@ -26,6 +34,7 @@ jobs:
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
with:
ref: ${{ inputs.ref || github.ref }}
submodules: recursive
filter: tree:0
- name: Download build zip
Expand Down Expand Up @@ -59,6 +68,7 @@ jobs:
type=ref,event=branch
type=ref,event=tag
type=ref,event=pr
type=raw,value=${{ inputs.custom_tag }},enable=${{ inputs.custom_tag != '' }}
flavor: |
latest=${{ github.ref == 'refs/heads/main' }}
annotations: |
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,22 @@ jobs:
MAVEN_USERNAME: ${{ secrets.OSSRH_USER }}
MAVEN_CENTRAL_TOKEN: ${{ secrets.OSSRH_TOKEN }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
- name: Upload build zip archive
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f
with:
name: build_zip
path: ./metaschema-cli/target/*metaschema-cli.zip
build-container:
name: Container
permissions:
contents: read
packages: write
attestations: write
id-token: write
needs: deploy-to-nexus
uses: ./.github/workflows/container.yml
with:
push: true
deploy-website:
name: Website Deployment
runs-on: ubuntu-24.04
Expand Down
Loading