Skip to content

Merge pull request #706 from jakobmoellerdev/no-90-limit-4.14 #208

Merge pull request #706 from jakobmoellerdev/no-90-limit-4.14

Merge pull request #706 from jakobmoellerdev/no-90-limit-4.14 #208

Workflow file for this run

---
name: image-builder
on:
push:
branches: ['*']
pull_request:
branches: ['*']
jobs:
docker-build:
name: docker-build
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go: ["1.18"]
steps:
- uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- uses: actions/checkout@v2
# 'test' is a sub-target of 'docker-build' and so cache go build & mod
- id: go-cache-paths
run: |
echo "::set-output name=go-build::$(go env GOCACHE)"
echo "::set-output name=go-mod::$(go env GOMODCACHE)"
- name: Go Build Cache
uses: actions/cache@v2
with:
path: ${{ steps.go-cache-paths.outputs.go-build }}
key: ${{ runner.os }}-go-build-${{ hashFiles('**/go.sum') }}
- name: Go Mod Cache
uses: actions/cache@v2
with:
path: ${{ steps.go-cache-paths.outputs.go-mod }}
key: ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }}
- name: Build operator docker image
run: make docker-build-combined