Skip to content

Commit

Permalink
Add workflow to build kind cluster components
Browse files Browse the repository at this point in the history
  • Loading branch information
kishen-v committed Jun 25, 2024
1 parent 2aebf4b commit 874408f
Showing 1 changed file with 63 additions and 0 deletions.
63 changes: 63 additions & 0 deletions .github/workflows/kind-dependent-images.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: Build kind cluster component images

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

on:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
permissions:
packages: write
strategy:
fail-fast: false
env:
# Use docker.io for Docker Hub if empty
IMAGE_REGISTRY: quay.io


steps:
- name: Checkout repository
uses: actions/[email protected]

- name: Log into registry ${{ env.IMAGE_REGISTRY }}
uses: docker/login-action@v3
with:
registry: ${{ env.IMAGE_REGISTRY }}
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}

- name: Clone and patch kubernetes-sigs/kind repository
run: |
git clone --depth 1 --branch v0.23.0 https://github.com/kubernetes-sigs/kind.git
cd kind
git apply ../build-ppc64le.patch
- name: Build local-path-provisioner
working-directory: ./kind
run: |
make -C images/local-path-provisioner push
- name: Build local-path-helper
working-directory: ./kind
run: |
make -C images/local-path-helper push
- name: Build base
working-directory: ./kind
run: |
make -C images/base push
- name: Build kindnetd
working-directory: ./kind
run: |
make -C images/kindnetd push
- name: Build haproxy
working-directory: ./kind
run: |
make -C images/haproxy push

0 comments on commit 874408f

Please sign in to comment.