Build Kube-Proxy images #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | |
name: Build Kube-Proxy images | |
on: | |
workflow_dispatch: | |
inputs: | |
proxy_version: | |
description: 'Version of kube-proxy to build (ex: v1.27.1)' | |
required: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build and push images | |
run: | | |
echo "${{ secrets.DOCKER_SECRET }}" | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin | |
pushd ./hostprocess/calico | |
./build.sh -p ${{ github.event.inputs.proxy_version }} | |
popd | |
pushd ./hostprocess/flannel | |
./build.sh -p ${{ github.event.inputs.proxy_version}} |