[hydros-containers] Added action workflow
All checks were successful
Build hydros-containers / Build and push image (push) Successful in 1m39s
All checks were successful
Build hydros-containers / Build and push image (push) Successful in 1m39s
This commit is contained in:
33
.gitea/workflows/build-hydros-containers.yml
Normal file
33
.gitea/workflows/build-hydros-containers.yml
Normal file
@@ -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
|
||||||
Reference in New Issue
Block a user