-
Notifications
You must be signed in to change notification settings - Fork 452
36 lines (34 loc) · 1.15 KB
/
build-images.yaml
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] Build service images'
on:
push:
branches:
- master
- staging/**
pull_request:
merge_group:
concurrency:
group: pulls/${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
nango-runner:
uses: ./.github/workflows/push-container.yaml
secrets: inherit
with:
package: runner
run-cmd: ts-build
tags: -t nangohq/nango-runner:${{ github.event.pull_request.head.sha || github.sha }}
nango-server:
uses: ./.github/workflows/push-container.yaml
secrets: inherit
with:
package: server
run-cmd: build:prod
tags: -t nangohq/nango-server:${{ github.event.pull_request.head.sha || github.sha }}
nango-server-self-hosted:
if: github.ref == 'refs/heads/master'
uses: ./.github/workflows/push-container.yaml
secrets: inherit
with:
package: server
run-cmd: build:hosted
tags: -t nangohq/nango-server:hosted -t nangohq/nango-server:hosted-${{ github.event.pull_request.head.sha || github.sha }}