-
Notifications
You must be signed in to change notification settings - Fork 102
35 lines (35 loc) · 1.05 KB
/
build-workflow.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
name: build-workflow
# This workflow is triggered on pushes to the repository.
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
name: build-job
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- uses: engineerd/[email protected]
with:
version: "v0.9.0"
- uses: FranzDiebold/[email protected]
- name: buildx-image
run: |
export TESTCONTAINERS_RYUK_DISABLED=true
make build-test-ci
make buildx-image TAG=v$GITHUB_SHA_SHORT
- name: load-image
run: |
kind load docker-image vmware/kube-fluentd-operator:v$GITHUB_SHA_SHORT
- name: install-log-router
run: |
cd charts
PATH=$PATH:/tmp/bin helm upgrade --install --set image.tag=v$GITHUB_SHA_SHORT --set rbac.create=true --wait --timeout 60s log-router ./log-router