-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (34 loc) · 1.45 KB
/
release-secure-signals-react-uid2.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Release Secure Signal Examples Docker Image for UID2 React
run-name: ${{ inputs.release_type == 'Snapshot' && 'Publish Pre-release' || format('Release {0}', inputs.release_type)}} Secure Signal Examples Docker Image for UID2 React 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: examples/google-secure-signals-integration/react_client_side
secrets: inherit
publishForSecureSignalsExampleReact:
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-publish-to-docker-versioned.yaml@v3
needs: incrementVersionNumber
with:
new_version: ${{ needs.incrementVersionNumber.outputs.new_version }}
image_tag: ${{ needs.incrementVersionNumber.outputs.image_tag }}
release_type: ${{ inputs.release_type }}
docker_file: examples/google-secure-signals-integration/react_client_side/Dockerfile
docker_context: examples/google-secure-signals-integration/react_client_side
docker_image_name: iabtechlab/uid2-secure-signals-example-react
docker_registry: ghcr.io
force_release: no
secrets: inherit