build test image in ci

This commit is contained in:
Tobias Trabelsi 2023-05-11 10:27:43 +02:00
parent 2d399ff8ce
commit d908419b78
Signed by: lerentis
GPG Key ID: FF0C2839718CAF2E
1 changed files with 18 additions and 1 deletions

View File

@ -1,4 +1,4 @@
name: Lint and Test Charts
name: Lint and Test
on: pull_request
@ -43,3 +43,20 @@ jobs:
- name: Run chart-testing (install)
if: steps.list-changed.outputs.changed == 'true'
run: ct install --target-branch ${{ github.event.repository.default_branch }}
pr-build:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: "GHCR Build"
id: docker_build
uses: docker/build-push-action@v4
with:
push: false
platforms: linux/amd64,linux/arm64
tags: ghcr.io/lerentis/bitwarden-crd-operator:dev