This repository was archived by the owner on Jan 2, 2026. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +4
-18
lines changed
Expand file tree Collapse file tree 3 files changed +4
-18
lines changed Original file line number Diff line number Diff line change 1515 - name : Checkout code
1616 uses : actions/checkout@v3
1717
18- - name : Set Environment Variables
19- run : |
20- echo "BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> $GITHUB_ENV
21- echo "VCS_REF=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
22-
2318 - name : Docker meta
2419 id : meta
2520 uses : docker/metadata-action@v4
6964 push : ${{ github.event_name != 'pull_request' }}
7065 labels : ${{ steps.meta.outputs.labels }}
7166 tags : ${{ steps.meta.outputs.tags }}
72- build-args : |
73- BUILD_DATE=${{ env.BUILD_DATE }}
74- VCS_REF=${{ env.VCS_REF }}
Original file line number Diff line number Diff line change 1919
2020FROM alpine:edge AS builder
2121
22- LABEL maintainer=
"Patrik Juvonen <[email protected] >" 23-
2422ENV NGINX_VERSION 1.23.2
2523ENV QUICHE_CHECKOUT 24a959abf115923910ce18985aa199d85fb602d7
2624ENV MODSEC_TAG v3/master
2725ENV MODSEC_NGX_TAG master
2826ENV NJS_TAG 0.7.9
2927
30- # Build-time metadata as defined at https://label-schema.org
31- ARG BUILD_DATE
32- ARG VCS_REF
33-
3428RUN set -x; GPG_KEYS=13C82A63B603576156E30A4EA0EA981B66B0D967 \
3529 && CONFIG="\
3630 --prefix=/etc/nginx \
@@ -268,7 +262,3 @@ COPY modsec/* /etc/nginx/modsec/
268262STOPSIGNAL SIGTERM
269263
270264CMD ["nginx" , "-g" , "daemon off;" ]
271-
272- LABEL org.label-schema.build-date=$BUILD_DATE \
273- org.label-schema.vcs-ref=$VCS_REF \
274- org.label-schema.vcs-url="https://github.com/patrikjuvonen/docker-nginx-http3.git"
Original file line number Diff line number Diff line change @@ -43,6 +43,10 @@ Images for this are available on
4343** GitHub Container Registry (GHCR):**
4444` docker pull ghcr.io/patrikjuvonen/docker-nginx-http3 `
4545
46+ Semantic versioning is enabled since 519e20d7f65d53b976cf7d13e364dca326e988b7,
47+ the first semantic version being 2.0.0. You can use it with the tag ` :2.0.0 ` ,
48+ ` :2.0 ` , ` :2 ` and so on.
49+
4650This is a base image like the default _ nginx_ image. It is meant to be used as a
4751drop-in replacement for the nginx base image.
4852
You can’t perform that action at this time.
0 commit comments