Skip to content

Commit 73a3753

Browse files
added react site to workflows
1 parent 7ce4576 commit 73a3753

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed

.github/workflows/publish-secure-signal-examples.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,10 @@ jobs:
9393
push: true
9494
tags: ${{ steps.meta.outputs.tags }}
9595
labels: ${{ steps.meta.outputs.labels }}
96+
- name: Build and push Docker React image
97+
uses: docker/build-push-action@v5
98+
with:
99+
context: examples/google-secure-signals-integration/react_client_side
100+
push: true
101+
tags: ${{ steps.meta.outputs.tags }}
102+
labels: ${{ steps.meta.outputs.labels }}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Release Secure Signal Examples Docker Image for UID2 React
2+
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 }}
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
release_type:
7+
type: choice
8+
description: The type of release
9+
options:
10+
- Major
11+
- Minor
12+
- Patch
13+
- Snapshot
14+
required: true
15+
16+
jobs:
17+
incrementVersionNumber:
18+
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-increase-version-number.yaml@v2
19+
with:
20+
release_type: ${{ inputs.release_type }}
21+
working_dir: examples/google-secure-signals-integration/react_client_side
22+
secrets: inherit
23+
24+
publishForSecureSignalsExampleReact:
25+
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-publish-to-docker-versioned.yaml@v3
26+
needs: incrementVersionNumber
27+
with:
28+
new_version: ${{ needs.incrementVersionNumber.outputs.new_version }}
29+
image_tag: ${{ needs.incrementVersionNumber.outputs.image_tag }}
30+
release_type: ${{ inputs.release_type }}
31+
docker_file: examples/google-secure-signals-integration/react_client_side/Dockerfile
32+
docker_context: examples/google-secure-signals-integration/react_client_side
33+
docker_image_name: iabtechlab/uid2-secure-signals-example-react
34+
docker_registry: ghcr.io
35+
force_release: no
36+
secrets: inherit

0 commit comments

Comments
 (0)