From f1d458cc127bd6fe0fc4c790807ec2f0c51f0d78 Mon Sep 17 00:00:00 2001 From: Aditya <60684641+0x0elliot@users.noreply.github.com> Date: Wed, 13 May 2026 03:55:20 +0530 Subject: [PATCH] ci: add standalone sync-orborus workflow --- .github/workflows/sync-orborus.yaml | 38 +++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/sync-orborus.yaml diff --git a/.github/workflows/sync-orborus.yaml b/.github/workflows/sync-orborus.yaml new file mode 100644 index 00000000..524d744a --- /dev/null +++ b/.github/workflows/sync-orborus.yaml @@ -0,0 +1,38 @@ +name: Sync Orborus + +on: + workflow_dispatch: + inputs: + orborus_version: + description: "Orborus version to sync" + required: true + default: "latest" + +jobs: + sync-orborus: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + version: ["${{ github.event.inputs.orborus_version }}"] + 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 }}