-
Notifications
You must be signed in to change notification settings - Fork 7
37 lines (32 loc) · 1.03 KB
/
build-emit.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
37
on:
push:
branches:
- main
tags:
- "[0-9]+.[0-9]+.[0-9]+"
paths:
- .github/workflows/build-emit.yaml
- "integrationos-domain/**"
- "integrationos-emit/**"
- Cargo.lock
- Dockerfile.common
- integrationos-emit/Dockerfile
env:
docker_image_tag: ${{ github.ref == 'refs/heads/main' && github.sha || github.ref_name }}
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v3
- uses: integration-os/google-artifact-registry-action@v2
with:
image: "us-docker.pkg.dev/integrationos/docker-oss/emit:${{ env.docker_image_tag }}"
service_account: [email protected]
workload_identity_provider: projects/356173785332/locations/global/workloadIdentityPools/github-actions/providers/github-actions
file: integrationos-emit/Dockerfile
context: .
build-args: |
"EXECUTABLE=integrationos-emit"