Skip to content

Add helm chart

Add helm chart #8

Workflow file for this run

name: Build and Push Docker Image to GitHub Registry
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build-and-push:
name: Build and Push Docker Image to GitHub Registry
runs-on: ubuntu-latest
steps:
# Checkout the repository
- name: Checkout code
uses: actions/checkout@v4
# Set up Docker Buildx
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
# Log in to GitHub Container Registry
- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
# Build and push the Docker image
- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/homer-operator:latest
ghcr.io/${{ github.repository_owner }}/homer-operator:${{ github.sha }}