Skip to content

Update control-plane-server.py #86

Update control-plane-server.py

Update control-plane-server.py #86

Workflow file for this run

name: Publish Neon Operator Image
on:
push:
branches:
- main
jobs:
build:
permissions:
contents: write
packages: write
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/${{ github.repository }}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
- name: Install Helm
uses: azure/setup-helm@v3
- name: Validate Helm Chart
working-directory: charts/neon
run: helm lint .
- name: Create Kind Cluster
uses: helm/[email protected]
# - name: Apply Helm Chart
# working-directory: charts/neon
# run: helm install neon .
# - name: Configure Git
# run: |
# git config --global user.name "${{ github.actor }}"
# git config --global user.email "${{ github.actor }}@users.noreply.github.com"
# - name: Package Helm Chart
# working-directory: charts/neon
# run: helm package .
# - name: Publish Helm Chart
# uses: helm/[email protected]
# env:
# CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"