Skip to content

Commit

Permalink
Build rpm packages for fedora 39
Browse files Browse the repository at this point in the history
  • Loading branch information
carlhoerberg committed Feb 20, 2024
1 parent f007e75 commit c27a1bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/rpm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
name: Build RPM
strategy:
matrix:
os: ['fedora-37']
os: ['fedora-39']
runs-on: ubuntu-latest
concurrency: ${{ github.workflow }}-depot
steps:
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
file: Dockerfile.rpm
platforms: linux/amd64,linux/arm64
build-args: |
build_image=84codes/crystal:1.6.2-${{ matrix.os }}
build_image=84codes/crystal:latest-${{ matrix.os }}
version=${{ env.version }}
outputs: RPMS

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.rpm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG build_image=84codes/crystal:latest-fedora-37
ARG build_image=84codes/crystal:latest-fedora-39

FROM $build_image AS builder
RUN dnf install -y --nodocs --setopt=install_weak_deps=False --repo=fedora,updates \
Expand All @@ -19,7 +19,7 @@ ARG MAKEFLAGS
RUN rpmbuild -ba /root/rpmbuild/SPECS/amqproxy.spec
RUN rpmlint /root/rpmbuild/RPMS/* || true

FROM fedora:37 AS test
FROM fedora:39 AS test
COPY --from=builder /root/rpmbuild/RPMS /tmp/RPMS
RUN find /tmp/RPMS -type f -exec dnf install -y {} \;
RUN amqproxy --version
Expand Down

0 comments on commit c27a1bd

Please sign in to comment.