mirror of
https://github.com/bgp/bgpq4
synced 2026-08-27 19:36:02 +00:00
Fix and update workflow actions and containers (#133)
- Add tar for failing Alpine (matrix)builds - Add matrixbuild for Alpine 3.23 - Remove matrixbuild for Alpine 3.21 - Add matrixbuilds for Fedora 43 and 44 - Remove matrixbuilds for Fedora 40 and 41 - Add matrixbuild for Rocky Linux 10 - Update GitHub actions to current versions
This commit is contained in:
@@ -3,7 +3,7 @@ FROM $image
|
||||
|
||||
# Install dependencies
|
||||
RUN apk upgrade
|
||||
RUN apk add autoconf automake file gcc gzip libtool make musl-dev
|
||||
RUN apk add autoconf automake file gcc gzip libtool make musl-dev tar
|
||||
|
||||
# Add source code
|
||||
ADD . /src
|
||||
|
||||
@@ -5,7 +5,7 @@ FROM $IMAGE as builder
|
||||
|
||||
# Install dependencies
|
||||
RUN apk upgrade
|
||||
RUN apk add autoconf automake file gcc gzip libtool make musl-dev
|
||||
RUN apk add autoconf automake file gcc gzip libtool make musl-dev tar
|
||||
|
||||
# Add source code
|
||||
ADD . /src
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
../centos.Dockerfile
|
||||
@@ -29,14 +29,14 @@ jobs:
|
||||
- # Add support for more platforms with QEMU
|
||||
# https://github.com/docker/setup-qemu-action
|
||||
name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
uses: docker/setup-qemu-action@v4
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
uses: docker/setup-buildx-action@v4
|
||||
|
||||
- name: Docker meta
|
||||
id: meta
|
||||
uses: docker/metadata-action@v5
|
||||
uses: docker/metadata-action@v6
|
||||
with:
|
||||
images: ghcr.io/${{ github.repository_owner }}/bgpq4
|
||||
tags: |
|
||||
@@ -49,14 +49,14 @@ jobs:
|
||||
|
||||
- name: Login to GitHub Container Registry
|
||||
if: github.repository_owner == 'bgp'
|
||||
uses: docker/login-action@v3
|
||||
uses: docker/login-action@v4
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v6
|
||||
uses: docker/build-push-action@v7
|
||||
with:
|
||||
file: .github/images/alpine:3.Dockerfile
|
||||
context: .
|
||||
|
||||
@@ -15,15 +15,16 @@ jobs:
|
||||
- ubuntu:noble
|
||||
- ubuntu:jammy
|
||||
- ubuntu:focal
|
||||
- fedora/fedora:44
|
||||
- fedora/fedora:43
|
||||
- fedora/fedora:42
|
||||
- fedora/fedora:41
|
||||
- fedora/fedora:40
|
||||
- centos/centos:stream10
|
||||
- centos/centos:stream9
|
||||
- rockylinux/rockylinux:10
|
||||
- rockylinux/rockylinux:9
|
||||
- rockylinux/rockylinux:8
|
||||
- alpine:edge
|
||||
- alpine:3.21
|
||||
- alpine:3.23
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Work around Docker BuildKit regression
|
||||
|
||||
Reference in New Issue
Block a user