Skip to content

Restore k8s based bumper #99

Restore k8s based bumper

Restore k8s based bumper #99

name: build-cors-proxy
on:
pull_request_target:
types: [ opened, synchronize, reopened, ready_for_review ]
paths:
- "cmd/cloud-run/cors-proxy/*.go"
- "cmd/cloud-run/cors-proxy/Dockerfile"
- "pkg/**"
- "go.mod"
- "go.sum"
push:
branches:
- main
paths:
- "cmd/cloud-run/cors-proxy/*.go"
- "cmd/cloud-run/cors-proxy/Dockerfile"
- "pkg/**"
- "go.mod"
- "go.sum"
workflow_dispatch: {}
jobs:
build-image:
uses: ./.github/workflows/image-builder.yml
with:
name: cors-proxy
dockerfile: cmd/cloud-run/cors-proxy/Dockerfile
context: .
print-image:
runs-on: ubuntu-latest
needs: build-image
steps:
- name: Print image
run: echo "Image built ${{ needs.build-image.outputs.images }}"