Skip to content

Commit

Permalink
fix: try to build release rpm (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
akdev1l authored Jul 15, 2023
2 parents 4363369 + 83dfafa commit 12b2ac2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ jobs:
tags: |
${{ needs.release-please.outputs.tag }}
oci: true
extra-args: "-v ${{ github.workspace }}:/app"
extra-args: |
-v ${{ github.workspace }}:/app
--target rpm
- name: upload output artifacts as release artifact
uses: actions/upload-artifact@v3
Expand Down
7 changes: 5 additions & 2 deletions Containerfile.builder
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,8 @@ RUN dnf install \
rpm-build && \
mkdir -p "$UBLUE_ROOT" && \
rpkg spec --outdir "$UBLUE_ROOT" && \
dnf builddep -y output/ublue-update.spec && \
[ "$CI" = "true" ] && make build-rpm
dnf builddep -y output/ublue-update.spec

FROM builder AS rpm

RUN make build-rpm

0 comments on commit 12b2ac2

Please sign in to comment.