Release Patch UID2 Examples Image for Server Only by @cYKatherine #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release UID2 Examples Image for Server Only | |
run-name: ${{ inputs.release_type == 'Snapshot' && 'Publish Pre-release' || format('Release {0}', inputs.release_type)}} UID2 Examples Image for Server Only 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 }} | |
working_dir: publisher/server_only | |
secrets: inherit | |
publishForServerOnly: | |
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 }} | |
release_type: ${{ inputs.release_type }} | |
docker_file: publisher/server_only/Dockerfile | |
docker_context: publisher/server_only | |
docker_image_name: IABTechLab/uid2-examples | |
docker_registry: ghcr.io | |
secrets: inherit |