Skip to content

Release Minor Self Serve Portal Image by @alex-yau-ttd #94

Release Minor Self Serve Portal Image by @alex-yau-ttd

Release Minor Self Serve Portal Image by @alex-yau-ttd #94

name: Release Self Serve Portal Image
run-name: ${{ inputs.release_type == 'Snapshot' && 'Publish Pre-release' || format('Release {0}', inputs.release_type)}} Self Serve Portal Image by @${{ github.actor }}
on:
workflow_dispatch:
inputs:
release_type:
type: choice
description: The type of release
options:
- Major
- Minor
- Patch
- Snapshot
required: true
jobs:
incrementVersionNumber:
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-increase-version-number.yaml@v2
with:
release_type: ${{ inputs.release_type }}
secrets: inherit
publishForApiUi:
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-publish-to-docker-versioned.yaml@v2
needs: incrementVersionNumber
with:
new_version: ${{ needs.incrementVersionNumber.outputs.new_version }}
image_tag: ${{ needs.incrementVersionNumber.outputs.image_tag }}
git_tag_or_hash: ${{ needs.incrementVersionNumber.outputs.git_tag_or_hash }}
release_type: ${{ inputs.release_type }}
docker_file: Dockerfile_ssportal
docker_image_name: iabtechlab/uid2-ssportal
docker_registry: ghcr.io
secrets: inherit
publishForDBMigration:
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-publish-to-docker-versioned.yaml@v2
needs: incrementVersionNumber
with:
new_version: ${{ needs.incrementVersionNumber.outputs.new_version }}
image_tag: ${{ needs.incrementVersionNumber.outputs.image_tag }}
git_tag_or_hash: ${{ needs.incrementVersionNumber.outputs.git_tag_or_hash }}
release_type: ${{ inputs.release_type }}
docker_file: Dockerfile_ssportal_migration
docker_image_name: iabtechlab/uid2-ssportal-migration
docker_registry: ghcr.io
secrets: inherit
publishForKeycloak:
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-publish-to-docker-versioned.yaml@v2
needs: incrementVersionNumber
with:
new_version: ${{ needs.incrementVersionNumber.outputs.new_version }}
image_tag: ${{ needs.incrementVersionNumber.outputs.image_tag }}
git_tag_or_hash: ${{ needs.incrementVersionNumber.outputs.git_tag_or_hash }}
release_type: ${{ inputs.release_type }}
docker_file: Dockerfile_keycloak
docker_image_name: iabtechlab/uid2-ssportal-keycloak
docker_registry: ghcr.io
secrets: inherit