Skip to content

Release Server Only Docker Image by @cYKatherine #1

Release Server Only Docker Image by @cYKatherine

Release Server Only Docker Image by @cYKatherine #1

name: Release UID2 Examples Image for Server Only
run-name: ${{ inputs.release_type == 'Snapshot' && 'Publish Pre-release' || format('Release {0}', inputs.release_type)}} Server Only Docker Image by @${{ github.actor }}
on:
workflow_dispatch:
inputs:
release_type:
type: choice
description: 'The type of release'
options:
- Major
- Minor
- Patch
- Snapshot
pull_request:
jobs:
incrementVersionNumber:
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-increase-version-number.yaml@kcc-UID2-2674-implement-shared-publish-to-docker-versioned
with:
release_type: ${{ inputs.release_type }}
working_dir: publisher/server_only
secrets: inherit
publishForServerOnly:
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-publish-to-docker-versioned.yaml@kcc-UID2-2674-implement-shared-publish-to-docker-versioned
needs: incrementVersionNumber
with:
new_version: ${{ needs.incrementVersionNumber.outputs.new_version }}
image_tag: ${{ needs.incrementVersionNumber.outputs.image_tag }}
release_type: ${{ inputs.release_type }}
docker_file: publisher/server_only/Dockerfile
docker_image_name: IABTechLab/uid2-examples
docker_registry: ghcr.io
secrets: inherit