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