From 20daa6dbd507e259b6f2c7298466dd9b77f7a63f Mon Sep 17 00:00:00 2001 From: Eriq Taing Date: Mon, 30 Mar 2026 01:31:41 -0400 Subject: [PATCH] [hydros-containers] Added action workflow --- .gitea/workflows/build-hydros-containers.yml | 33 ++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .gitea/workflows/build-hydros-containers.yml diff --git a/.gitea/workflows/build-hydros-containers.yml b/.gitea/workflows/build-hydros-containers.yml new file mode 100644 index 0000000..1558430 --- /dev/null +++ b/.gitea/workflows/build-hydros-containers.yml @@ -0,0 +1,33 @@ +name: Build hydros-containers +on: + push: + branches: + - main + paths: + - .gitea/workflows/build-hydros-containers.yml + - "hydros-containers/**" + workflow_dispatch: + +jobs: + build_push: + name: Build and push image + runs-on: ubuntu-latest + + steps: + - name: Setup environment + shell: bash + run: | + sudo apt-get update + sudo apt-get install -y podman iptables + + # These stage versions are pinned by https://github.com/renovatebot/renovate + - name: Checkout + uses: actions/checkout@v6 # v5 + + - name: Build RPM and Upload + uses: https://git.hydrosaber.com/hydros/build-rpm@main + with: + spec-file-path: ./hydros-containers/hydros-containers.spec + repository-user: eriq12 + repository-user-token: ${{ secrets.RPM_PACKAGE_TOKEN }} + extra-source-directory: ./hydros-containers/containers