-
Notifications
You must be signed in to change notification settings - Fork 156
39 lines (34 loc) · 1.13 KB
/
build_fbpcs_images.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
37
38
39
name: Build and Publish Data Processing and EMP Games Docker Images
on:
push:
branches: [ main ]
env:
FBPCF_VERSION: 2.1.148 # Please also update line 25 (FBPCF_VERSION) in .github/workflows/docker-publish.yml
REGISTRY: ghcr.io
jobs:
output_version:
runs-on: ubuntu-latest
name: Set FBPCF version
outputs:
fbpcf_version: ${{ steps.set_version.outputs.version }}
steps:
- id: set_version
run: echo "version=${{ env.FBPCF_VERSION }}" >> $GITHUB_OUTPUT
build_and_publish_data_processing_image:
name: Build and Publish Data Processing Image
needs: output_version
uses: ./.github/workflows/build_binary_image.yml
with:
image_to_build: data_processing
tag: latest
fbpcf_version: ${{needs.output_version.outputs.fbpcf_version}}
push_to_registry: true
build_and_publish_emp_games_image:
name: Build and Publish EMP Games Image
needs: output_version
uses: ./.github/workflows/build_binary_image.yml
with:
image_to_build: emp_games
tag: latest
fbpcf_version: ${{needs.output_version.outputs.fbpcf_version}}
push_to_registry: true