ci: sync orborus from shuffle/orborus, bump chart to 2.2.1

This commit is contained in:
Aditya
2026-05-13 03:54:10 +05:30
parent a106f27312
commit e55bf9a41c
4 changed files with 104 additions and 12 deletions
+33 -4
View File
@@ -2,6 +2,11 @@ name: nightly-dockerbuild
on:
workflow_dispatch:
inputs:
orborus_version:
description: "Orborus version to sync (default: nightly)"
required: false
default: "nightly"
push:
branches:
- nightly
@@ -26,10 +31,6 @@ jobs:
path: backend
version: nightly
experimental: true
#- app: orborus
# path: functions/onprem/orborus
# version: nightly
# experimental: true
- app: worker
path: functions/onprem/worker
version: nightly
@@ -80,3 +81,31 @@ jobs:
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
sync-orborus:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
version: ["${{ github.event.inputs.orborus_version || 'nightly' }}"]
steps:
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to Ghcr
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Pull, retag and push orborus
run: |
docker pull ghcr.io/shuffle/orborus:${{ matrix.version }}
docker tag ghcr.io/shuffle/orborus:${{ matrix.version }} ghcr.io/shuffle/shuffle-orborus:${{ matrix.version }}
docker tag ghcr.io/shuffle/orborus:${{ matrix.version }} ${{ secrets.DOCKERHUB_USERNAME }}/shuffle-orborus:${{ matrix.version }}
docker push ghcr.io/shuffle/shuffle-orborus:${{ matrix.version }}
docker push ${{ secrets.DOCKERHUB_USERNAME }}/shuffle-orborus:${{ matrix.version }}