Skip to content

Release on manual push #210

Release on manual push

Release on manual push #210

Workflow file for this run

name: Release on manual push
on:
workflow_dispatch:
inputs:
release_version:
description: 'Release version'
required: true
jobs:
version:
uses: walt-id/waltid-identity/.github/workflows/version.yml@6f15f719a6820cf631bce0399a89b3f060302d3d
with:
preferred: ${{ inputs.release_version }}
gradle:
uses: walt-id/waltid-identity/.github/workflows/gradle.yml@3953e60730aeeb1d918bdf24318a1fcf9d180830
secrets: inherit
needs: version
with:
version: ${{ needs.version.outputs.release_version }}
publish: true
docker-matrix:
uses: walt-id/waltid-identity/.github/workflows/load-json.yml@43ba2cb6031b8001d73d6e6a66e211c18a7a7d12
with:
jsonpath: ".github/workflows/data/docker-matrix.json"
docker:
uses: walt-id/waltid-identity/.github/workflows/docker.yml@3a0b58287aa318e34845cd7f8279a1441ae8cbe2
secrets: inherit
needs: [ version, docker-matrix ]
with:
images: ${{ needs.docker-matrix.outputs.json }}
version: ${{ needs.version.outputs.release_version }}
tags: '["stable"]'
publish: true
api-docker-matrix:
uses: walt-id/waltid-identity/.github/workflows/load-json.yml@43ba2cb6031b8001d73d6e6a66e211c18a7a7d12
with:
jsonpath: ".github/workflows/data/api-docker-matrix.json"
api-docker:
uses: walt-id/waltid-identity/.github/workflows/api-docker.yml@807020d067847768f59cdd493703bcb88748b598
secrets: inherit
needs: [ version, api-docker-matrix ]
with:
images: ${{ needs.api-docker-matrix.outputs.json }}
version: ${{ needs.version.outputs.release_version }}
tags: '["stable"]'
publish: true
deploy:
uses: walt-id/waltid-identity/.github/workflows/deployment.yml@10c95cc4f730fa248edf233ca05427293d044a4c
secrets: inherit
needs: [ version, gradle, docker, api-docker ]
with:
version: ${{ needs.version.outputs.release_version }}
deployment: ${{ contains(needs.version.outputs.release_version, 'PRE-RELEASE') && 'dev' || 'prod' }}
oss: ${{ contains(needs.version.outputs.release_version, 'PRE-RELEASE') && 'test-identity-main' || 'identity-main' }}
enterprise: ${{ contains(needs.version.outputs.release_version, 'PRE-RELEASE') && 'test-enterprise-main' || 'enterprise-main' }}
tag:
uses: walt-id/waltid-identity/.github/workflows/tag.yml@8fcefa7d4f599104fbcffc982133848eef3035ac
needs: [ version, deploy ]
with:
version: ${{ needs.version.outputs.release_version }}
enterprise-tag:
uses: walt-id/waltid-identity/.github/workflows/enterprise-tag.yml@8fcefa7d4f599104fbcffc982133848eef3035ac
secrets: inherit
needs: [ version, deploy ]
with:
version: ${{ needs.version.outputs.release_version }}
release:
uses: walt-id/waltid-identity/.github/workflows/changelog.yml@cf46ed618f9b296fd9b63c7207ca288855bb5343
secrets: inherit
needs: [ tag ]
with:
tag: ${{ needs.tag.outputs.tag }}