Skip to content

Bump k8s dep to v1.26.15 #477

Bump k8s dep to v1.26.15

Bump k8s dep to v1.26.15 #477

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
codecov:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/[email protected]
with:
go-version: 1.19
- uses: actions/cache@v2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Test and update codecov
run: |
go test $(go list ./... | grep -v /vendor/ | grep -v e2e) -race -coverprofile=coverage.txt -covermode=atomic
- uses: codecov/codecov-action@v2
with:
file: ./coverage.txt
flags: unittests
fail_ci_if_error: true
docker-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Docker meta
id: meta
uses: docker/metadata-action@v3
with:
images: thebeatles1994/open-local
tags: |
type=ref,event=tag
- name: Build image
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
platforms: linux/amd64
push: false
tags: ${{ steps.meta.outputs.tags }}