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
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
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 }} |