Skip to content

Commit

Permalink
Use shared pipeline to release docker image (#64)
Browse files Browse the repository at this point in the history
* Use shared pipeline to release docker image

* Remove `pull_request` workflow

* Use v2 of the shared pipeline
  • Loading branch information
cYKatherine authored Dec 20, 2023
1 parent ff28403 commit df44eab
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/release-docker-image.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Release UID2 Optout 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

jobs:
Image:
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-publish-docker-versioned.yaml@v2
with:
release_type: ${{ inputs.release_type }}
cloud_provider: 'default'
secrets: inherit

0 comments on commit df44eab

Please sign in to comment.