First package version for hydros-assets to package wallpaper
Some checks failed
Build hydros-assets / Build and push image (push) Failing after 2m31s
Some checks failed
Build hydros-assets / Build and push image (push) Failing after 2m31s
This commit is contained in:
33
.gitea/workflows/build-hydros-assets.yml
Normal file
33
.gitea/workflows/build-hydros-assets.yml
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
name: Build hydros-assets
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths:
|
||||||
|
- .gitea/workflows/build-hydros-assets.yml
|
||||||
|
- "hydros-assets/**"
|
||||||
|
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-assets/hydros-assets.spec
|
||||||
|
repository-user: eriq12
|
||||||
|
repository-user-token: ${{ secrets.RPM_PACKAGE_TOKEN }}
|
||||||
|
extra-source-directory: ./hydros-assets/hydros
|
||||||
25
hydros-assets/hydros-assets.spec
Normal file
25
hydros-assets/hydros-assets.spec
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
Name: hydros-assets
|
||||||
|
Version: 0.0.1
|
||||||
|
Release: %autorelease
|
||||||
|
Summary: The bundle of assets for HydrOS
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
Source0: source.tar.gz
|
||||||
|
|
||||||
|
%description
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -C
|
||||||
|
|
||||||
|
%build
|
||||||
|
# nothing to build
|
||||||
|
|
||||||
|
%install
|
||||||
|
install -Dm0444 -t %{buildroot}%{_datarootdir}/hydros/ %{_builddir}/source/hydros/default-background.png
|
||||||
|
|
||||||
|
%files
|
||||||
|
%{_datarootdir}/hydros/default-background.png
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sun Mar 29 2026 Eriq Taing <eriq12@protonmail.com>
|
||||||
|
- First version packaged
|
||||||
BIN
hydros-assets/hydros/default-background.png
Normal file
BIN
hydros-assets/hydros/default-background.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 114 KiB |
Reference in New Issue
Block a user