From df30192c30b2ad7ab0f66967bafa777190e24e25 Mon Sep 17 00:00:00 2001 From: gigirassy Date: Mon, 16 Feb 2026 07:41:07 +0100 Subject: [PATCH] Add .github/workflows/codeberg-publish.yml --- .github/workflows/codeberg-publish.yml | 36 ++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/codeberg-publish.yml diff --git a/.github/workflows/codeberg-publish.yml b/.github/workflows/codeberg-publish.yml new file mode 100644 index 0000000..da42280 --- /dev/null +++ b/.github/workflows/codeberg-publish.yml @@ -0,0 +1,36 @@ +name: Build and Push Multi-Arch Container + +on: + push: + branches: + - main + +jobs: + build: + runs-on: nune-runner + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Set up QEMU (for cross-platform building) + uses: docker/setup-qemu-action@v3 + + - name: Set up Buildx + uses: docker/setup-buildx-action@v3 + + - name: Login to container registry + uses: docker/login-action@v3 + with: + registry: ${{ env.REGISTRY_HOST }} + username: ${{ secrets.REGISTRY_USER }} + password: ${{ secrets.REGISTRY_PASS }} + + - name: Build and push images + uses: docker/build-push-action@v6 + with: + context: . + push: true + platforms: linux/amd64,linux/arm64 + tags: | + ${{ env.REGISTRY_HOST }}/${{ env.REGISTRY_REPO }}:latest \ No newline at end of file