Skip to content

Commit f68f544

Browse files
authored
chore: update nginx to 1.28.1-alpine3.23 (#24)
* chore: update nginx to 1.28.1-alpine3.23 * chore: update github actions dependencies
1 parent ce0ab30 commit f68f544

3 files changed

Lines changed: 17 additions & 17 deletions

File tree

.github/workflows/devel.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- linux/arm/v6
2424
- linux/ppc64le
2525
- linux/s390x
26-
runs-on: ubuntu-20.04
26+
runs-on: ubuntu-22.04
2727
services:
2828
registry:
2929
image: registry:2
@@ -32,24 +32,24 @@ jobs:
3232
steps:
3333
-
3434
name: Checkout
35-
uses: actions/checkout@v3
35+
uses: actions/checkout@v6
3636
with:
3737
fetch-depth: 1
3838
-
3939
name: Cache Docker layers
40-
uses: actions/cache@v2
40+
uses: actions/cache@v5
4141
with:
4242
path: /tmp/.buildx-cache
4343
key: static-web-server-${{ matrix.arch }}-buildx-${{ github.sha }}
4444
restore-keys: |
4545
static-web-server-${{ matrix.arch }}-buildx-
4646
-
4747
name: Set up QEMU
48-
uses: docker/setup-qemu-action@v2
48+
uses: docker/setup-qemu-action@v3
4949
-
5050
name: Docker meta alpine
5151
id: meta_alpine
52-
uses: docker/metadata-action@v3
52+
uses: docker/metadata-action@v5
5353
with:
5454
images: ${{ env.DOCKER_IMAGE }}
5555
flavor: |
@@ -64,12 +64,12 @@ jobs:
6464
type=sha
6565
-
6666
name: Set up Docker Buildx
67-
uses: docker/setup-buildx-action@v2
67+
uses: docker/setup-buildx-action@v3
6868
with:
6969
driver-opts: network=host
7070
-
7171
name: Build and export to Docker client
72-
uses: docker/build-push-action@v3
72+
uses: docker/build-push-action@v6
7373
with:
7474
context: .
7575
platforms: ${{ matrix.arch }}
@@ -79,7 +79,7 @@ jobs:
7979
labels: ${{ steps.meta_alpine.outputs.labels }}
8080
-
8181
name: Build and push to local registry
82-
uses: docker/build-push-action@v3
82+
uses: docker/build-push-action@v6
8383
with:
8484
context: .
8585
platforms: ${{ matrix.arch }}
@@ -91,7 +91,7 @@ jobs:
9191
cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max
9292
-
9393
name: Test
94-
uses: addnab/docker-run-action@v1
94+
uses: addnab/docker-run-action@v3
9595
with:
9696
image: ${{ env.DOCKER_IMAGE }}
9797
options: -v ${{ github.workspace }}:/cgit

.github/workflows/release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@ on:
77

88
jobs:
99
docker:
10-
runs-on: ubuntu-20.04
10+
runs-on: ubuntu-22.04
1111
steps:
1212
-
1313
name: Checkout
14-
uses: actions/checkout@v3
14+
uses: actions/checkout@v6
1515
-
1616
name: Set up QEMU
17-
uses: docker/setup-qemu-action@v1
17+
uses: docker/setup-qemu-action@v3
1818
-
1919
name: Docker meta
2020
id: meta
21-
uses: docker/metadata-action@v3
21+
uses: docker/metadata-action@v5
2222
with:
2323
images: joseluisq/alpine-cgit
2424
tags: |
@@ -27,10 +27,10 @@ jobs:
2727
type=semver,pattern={{major}}
2828
-
2929
name: Set up Docker Buildx
30-
uses: docker/setup-buildx-action@v1
30+
uses: docker/setup-buildx-action@v3
3131
-
3232
name: Login to DockerHub
33-
uses: docker/login-action@v1
33+
uses: docker/login-action@v3
3434
with:
3535
username: ${{ secrets.DOCKERHUB_USERNAME }}
3636
password: ${{ secrets.DOCKERHUB_TOKEN }}
@@ -41,7 +41,7 @@ jobs:
4141
echo "VERSION=${GITHUB_REF##*/v}" >> $GITHUB_ENV
4242
-
4343
name: Build and push
44-
uses: docker/build-push-action@v2
44+
uses: docker/build-push-action@v6
4545
with:
4646
push: true
4747
context: .

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM nginx:1.26.2-alpine3.20
1+
FROM nginx:1.28.1-alpine3.23
22

33
ARG VERSION=0.0.0
44
ENV VERSION=${VERSION}

0 commit comments

Comments
 (0)