Skip to content

add a github action workflow to build operator #1

add a github action workflow to build operator

add a github action workflow to build operator #1

name: Publish Dev Operator
on:
push:
tags:
- 'v*.*.*'
- 'v*.*.*-*'
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Build and publish k8s-operator image
env:
REPO: ghcr.io/${{ github.repository_owner }}/tailscale
TAGS: ${{ github.ref_name }}
PLATFORM: linux/amd64
run: |
echo "Building and publishing to ${REPO} with tags ${TAGS}"
make publishdevoperator