From 4fb9e767091053293246ee84b36092326dcabcbd Mon Sep 17 00:00:00 2001 From: Katherine Chen Date: Thu, 18 Jan 2024 16:05:37 +1100 Subject: [PATCH] Add release docker workflow for EUID --- .../workflows/release-docker-image-euid.yaml | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/release-docker-image-euid.yaml diff --git a/.github/workflows/release-docker-image-euid.yaml b/.github/workflows/release-docker-image-euid.yaml new file mode 100644 index 0000000..b9cda63 --- /dev/null +++ b/.github/workflows/release-docker-image-euid.yaml @@ -0,0 +1,26 @@ +name: Release EUID TCPORTAL Image +run-name: ${{ inputs.release_type == 'Snapshot' && 'Publish Pre-release' || format('Release {0}', inputs.release_type)}} 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: + +env: + REGISTRY: ghcr.io + IMAGE_NAME_EUID: iabtechlab/euid-tcportal + +jobs: + Image: + uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-publish-to-docker-versioned.yaml@kcc-UID2-2674-implement-shared-publish-to-docker-versioned + with: + release_type: ${{ inputs.release_type }} + docker_file: Dockerfile_euid + secrets: inherit