Skip to content

Commit 547b3c2

Browse files
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
1 parent 2823208 commit 547b3c2

8 files changed

Lines changed: 12 additions & 10 deletions

File tree

.github/images/alpine.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM $image
33

44
# Install dependencies
55
RUN apk upgrade
6-
RUN apk add autoconf automake file gcc gzip libtool make musl-dev
6+
RUN apk add autoconf automake file gcc gzip libtool make musl-dev tar
77

88
# Add source code
99
ADD . /src

.github/images/alpine:3.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ FROM $IMAGE as builder
55

66
# Install dependencies
77
RUN apk upgrade
8-
RUN apk add autoconf automake file gcc gzip libtool make musl-dev
8+
RUN apk add autoconf automake file gcc gzip libtool make musl-dev tar
99

1010
# Add source code
1111
ADD . /src
File renamed without changes.
File renamed without changes.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../centos.Dockerfile

.github/workflows/build-container.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ jobs:
2929
- # Add support for more platforms with QEMU
3030
# https://github.com/docker/setup-qemu-action
3131
name: Set up QEMU
32-
uses: docker/setup-qemu-action@v3
32+
uses: docker/setup-qemu-action@v4
3333

3434
- name: Set up Docker Buildx
35-
uses: docker/setup-buildx-action@v3
35+
uses: docker/setup-buildx-action@v4
3636

3737
- name: Docker meta
3838
id: meta
39-
uses: docker/metadata-action@v5
39+
uses: docker/metadata-action@v6
4040
with:
4141
images: ghcr.io/${{ github.repository_owner }}/bgpq4
4242
tags: |
@@ -49,14 +49,14 @@ jobs:
4949
5050
- name: Login to GitHub Container Registry
5151
if: github.repository_owner == 'bgp'
52-
uses: docker/login-action@v3
52+
uses: docker/login-action@v4
5353
with:
5454
registry: ghcr.io
5555
username: ${{ github.repository_owner }}
5656
password: ${{ secrets.GITHUB_TOKEN }}
5757

5858
- name: Build and push
59-
uses: docker/build-push-action@v6
59+
uses: docker/build-push-action@v7
6060
with:
6161
file: .github/images/alpine:3.Dockerfile
6262
context: .

.github/workflows/matrixbuild.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,16 @@ jobs:
1515
- ubuntu:noble
1616
- ubuntu:jammy
1717
- ubuntu:focal
18+
- fedora/fedora:44
19+
- fedora/fedora:43
1820
- fedora/fedora:42
19-
- fedora/fedora:41
20-
- fedora/fedora:40
2121
- centos/centos:stream10
2222
- centos/centos:stream9
23+
- rockylinux/rockylinux:10
2324
- rockylinux/rockylinux:9
2425
- rockylinux/rockylinux:8
2526
- alpine:edge
26-
- alpine:3.21
27+
- alpine:3.23
2728
steps:
2829
- uses: actions/checkout@v4
2930
- name: Work around Docker BuildKit regression

0 commit comments

Comments
 (0)