-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (29 loc) · 944 Bytes
/
build.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
name: Build
on: pull_request
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: update tag in manifest.yml
run: sed -i -e "s#__TAG__#${GITHUB_SHA}#g" values.yaml
- uses: WyriHaximus/github-action-helm3@v2
with:
exec: helm lint
kubeconfig: ${{ secrets.KUBECONFIG_RAW }}
- uses: WyriHaximus/github-action-helm3@v2
with:
exec: helm lint --strict
kubeconfig: ${{ secrets.KUBECONFIG_RAW }}
build_docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build the tagged Docker image
run: docker build -t ghcr.io/woog-life/graphing:${GITHUB_SHA} .