mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
Update Linux package versions and Dockerfile for Ubuntu 24.04
This commit is contained in:
parent
666f69e3b9
commit
becbe36dc4
5 changed files with 17 additions and 13 deletions
8
.github/workflows/dev.yml
vendored
8
.github/workflows/dev.yml
vendored
|
|
@ -43,9 +43,9 @@ jobs:
|
|||
packages: write
|
||||
strategy:
|
||||
matrix:
|
||||
linux: [ubuntu-jammy, ubuntu-noble, debian, fedora, rhel, rhel9]
|
||||
linux: [ubuntu, ubuntu-noble, debian, fedora, rhel, rhel9]
|
||||
include:
|
||||
- linux: ubuntu-jammy
|
||||
- linux: ubuntu
|
||||
package: deb
|
||||
- linux: ubuntu-noble
|
||||
package: deb
|
||||
|
|
@ -187,7 +187,7 @@ jobs:
|
|||
needs: [tests-ui-linux, tests-core-linux]
|
||||
strategy:
|
||||
matrix:
|
||||
linux: [ubuntu, debian, fedora, el, el9]
|
||||
linux: [ubuntu, ubuntu-noble, debian, fedora, el, el9]
|
||||
arch: [amd64]
|
||||
include:
|
||||
- release: dev
|
||||
|
|
@ -198,7 +198,7 @@ jobs:
|
|||
suffix: ""
|
||||
version: jammy
|
||||
package: deb
|
||||
- linux: ubuntu
|
||||
- linux: ubuntu-noble
|
||||
package_arch: amd64
|
||||
separator: _
|
||||
suffix: ""
|
||||
|
|
|
|||
20
.github/workflows/push-packagecloud.yml
vendored
20
.github/workflows/push-packagecloud.yml
vendored
|
|
@ -49,12 +49,7 @@ jobs:
|
|||
run: gem install package_cloud
|
||||
# Download packages
|
||||
- uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
|
||||
if: inputs.LINUX == 'ubuntu'
|
||||
with:
|
||||
name: package-${{ inputs.LINUX }}-${{ inputs.VERSION }}-${{ inputs.PACKAGE_ARCH }}
|
||||
path: /tmp/${{ inputs.LINUX }}
|
||||
- uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
|
||||
if: inputs.LINUX != 'el' && inputs.LINUX != 'el9' && inputs.LINUX != 'ubuntu'
|
||||
if: inputs.LINUX != 'el' && inputs.LINUX != 'el9'
|
||||
with:
|
||||
name: package-${{ inputs.LINUX }}-${{ inputs.PACKAGE_ARCH }}
|
||||
path: /tmp/${{ inputs.LINUX }}
|
||||
|
|
@ -81,7 +76,7 @@ jobs:
|
|||
# run: sudo apt install -y rename && rename 's/[0-9]\.[0-9]\.[0-9]/testing/' /tmp/${{ inputs.LINUX }}/*.${{ inputs.PACKAGE }}
|
||||
# Push package
|
||||
- name: Push package to packagecloud
|
||||
if: inputs.LINUX != 'el9'
|
||||
if: inputs.LINUX != 'el9' && inputs.LINUX != 'ubuntu-noble'
|
||||
uses: danielmundi/upload-packagecloud@46cd0e61152bf952dbc0d1759e609d3d22649030 # v1
|
||||
with:
|
||||
PACKAGE-NAME: /tmp/${{ inputs.LINUX }}/*.${{ inputs.PACKAGE }}
|
||||
|
|
@ -89,7 +84,7 @@ jobs:
|
|||
PACKAGECLOUD-REPO: ${{ inputs.REPO }}
|
||||
PACKAGECLOUD-DISTRIB: ${{ inputs.LINUX }}/${{ inputs.VERSION }}
|
||||
PACKAGECLOUD-TOKEN: ${{ secrets.PACKAGECLOUD_TOKEN }}
|
||||
- name: Push package to packagecloud
|
||||
- name: Push package to packagecloud for el9
|
||||
if: inputs.LINUX == 'el9'
|
||||
uses: danielmundi/upload-packagecloud@46cd0e61152bf952dbc0d1759e609d3d22649030 # v1
|
||||
with:
|
||||
|
|
@ -98,3 +93,12 @@ jobs:
|
|||
PACKAGECLOUD-REPO: ${{ inputs.REPO }}
|
||||
PACKAGECLOUD-DISTRIB: el/9
|
||||
PACKAGECLOUD-TOKEN: ${{ secrets.PACKAGECLOUD_TOKEN }}
|
||||
- name: Push package to packagecloud for ubuntu-noble
|
||||
if: inputs.LINUX == 'ubuntu-noble'
|
||||
uses: danielmundi/upload-packagecloud@46cd0e61152bf952dbc0d1759e609d3d22649030 # v1
|
||||
with:
|
||||
PACKAGE-NAME: /tmp/${{ inputs.LINUX }}/*.${{ inputs.PACKAGE }}
|
||||
PACKAGECLOUD-USERNAME: bunkerity
|
||||
PACKAGECLOUD-REPO: ${{ inputs.REPO }}
|
||||
PACKAGECLOUD-DISTRIB: ubuntu/noble
|
||||
PACKAGECLOUD-TOKEN: ${{ secrets.PACKAGECLOUD_TOKEN }}
|
||||
|
|
|
|||
|
|
@ -99,7 +99,7 @@ COPY --chmod=660 src/bw/misc/country.mmdb /var/tmp/bunkerweb/country.mmdb
|
|||
# Copy Linux files
|
||||
COPY --chmod=740 src/linux/scripts scripts
|
||||
COPY --chmod=740 src/linux/fpm.sh /usr/share/fpm.sh
|
||||
COPY src/linux/fpm-ubuntu-jammy /usr/share/.fpm
|
||||
COPY src/linux/fpm-ubuntu /usr/share/.fpm
|
||||
COPY --chmod=644 src/linux/*.service /lib/systemd/system/
|
||||
COPY --chmod=644 src/linux/bunkerweb.logrotate /etc/logrotate.d/bunkerweb
|
||||
|
||||
Loading…
Reference in a new issue