Skip to content

increase timeout of validation webhooks to 30 sec #167

increase timeout of validation webhooks to 30 sec

increase timeout of validation webhooks to 30 sec #167

name: Build and push images
on:
push:
branches:
- main
- release-*
workflow_dispatch:
jobs:
build_push:
runs-on: ubuntu-latest
env:
REGISTRY: quay.io
# Set tag 'latest' on main branch
REGISTRY_TAG: ${{ (github.head_ref||github.ref_name)=='main' && 'latest' || (github.head_ref||github.ref_name) }}
REGISTRY_ORG: kubev2v
USE_BAZEL_VERSION: 5.4.0
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
tool-cache: false
android: true
dotnet: true
haskell: true
large-packages: false
swap-storage: false
docker-images: false
- name: Checkout forklift
uses: actions/checkout@v3
- name: Login to quay.io with bot account
uses: docker/login-action@v2
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_TOKEN }}
- name: Bazel cache
id: bazel-cache
uses: actions/cache@v3
with:
path: ~/.cache/bazel
key: ${{ runner.os }}-bazel-cache-${{ hashFiles('WORKSPACE') }}
- name: Build and push images to quay.io
run: |
cd ${GITHUB_WORKSPACE}
./hack/release-images.sh