Skip to content

Commit

Permalink
fix(ci): update README deps and build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gerblesh committed Jun 10, 2024
1 parent b2bbbf0 commit bdc968d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 25 deletions.
26 changes: 4 additions & 22 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@ env:
jobs:
push-ghcr:
name: Build and push image
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
id-token: write
strategy:
fail-fast: false
matrix:
major_version: [38, 39]
major_version: [39, 40]
include:
- major_version: 38
- major_version: 39
is_latest_version: true
is_stable_version: true
- major_version: 39
- major_version: 40
is_latest_version: true
is_stable_version: false
steps:
Expand Down Expand Up @@ -139,21 +139,3 @@ jobs:
if: github.event_name != 'pull_request'
run: |
echo "${{ toJSON(steps.push.outputs) }}"
copr-build:
permissions:
contents: read
packages: read
runs-on: ubuntu-latest
container:
image: ghcr.io/akdev1l/copr-build:latest
if: github.event_name != 'pull_request'
steps:
- name: trigger copr build
uses: akdev1l/copr-build@main
id: copr-build
env:
COPR_API_TOKEN_CONFIG: ${{ secrets.UBLUE_COPR_API_TOKEN }}
with:
owner: ublue-os
project-name: staging
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Small update program written in python intended for use in Universal Blue that u

Includes systemd timers and services for auto update

dependencies (fedora): ```sudo dnf install python3-psutil libnotify```
dependencies (fedora): ```sudo dnf install python3-psutil libnotify && pip install topgrade```


# Usage
Expand All @@ -16,14 +16,14 @@ You can add this to your image by simply pulling down and installing the rpm:

```
COPY --from=ghcr.io/ublue-os/ublue-update:latest /rpms/ublue-update.noarch.rpm /tmp/rpms/
RUN rpm-ostree install /tmp/rpms/ublue-update.noarch.rpm
RUN pip install topgrade && rpm-ostree install /tmp/rpms/ublue-update.noarch.rpm
```

If you are on an image derived from uBlue main:

```
COPY --from=ghcr.io/ublue-os/ublue-update:latest /rpms/ublue-update.noarch.rpm /tmp/rpms/
RUN rpm-ostree override remove ublue-os-update-services && rpm-ostree install /tmp/rpms/ublue-update.noarch.rpm
RUN pip install topgrade && rpm-ostree override remove ublue-os-update-services && rpm-ostree install /tmp/rpms/ublue-update.noarch.rpm
```

> **Note**
Expand Down

0 comments on commit bdc968d

Please sign in to comment.