Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

feat: Add nameOverride for open-webui in release.yaml #509

feat: Add nameOverride for open-webui in release.yaml

feat: Add nameOverride for open-webui in release.yaml #509

Workflow file for this run

name: Push to OCI
on:
push:
branches: "main"
tags: "v*.*.*"
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
push-to-oci:
name: Push to OCI
runs-on: ubuntu-latest
steps:
- name: 📑 Checkout
uses: actions/checkout@v4
- name: ⚙️ Setup flux
uses: fluxcd/flux2/action@main
- name: 🗳️ Push to OCI
run: |
flux push artifact oci://ghcr.io/${{ github.repository }}/manifests:${{ github.sha }} \
--path=./k8s \
--source="$(git config --get remote.origin.url)" \
--revision="$(git branch --show-current)@sha1:$(git rev-parse HEAD)" \
--creds=${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}
flux tag artifact oci://ghcr.io/${{ github.repository }}/manifests:${{ github.sha }} \
--tag ${{ github.ref_name }} \
--creds=${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}
flux tag artifact oci://ghcr.io/${{ github.repository }}/manifests:${{ github.sha }} \
--tag latest \
--creds=${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}