Skip to content

Commit

Permalink
Remove stale labels
Browse files Browse the repository at this point in the history
  • Loading branch information
patrikjuvonen authored Dec 8, 2022
1 parent e1d16f8 commit c166424
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 18 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3

- name: Set Environment Variables
run: |
echo "BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> $GITHUB_ENV
echo "VCS_REF=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
Expand Down Expand Up @@ -69,6 +64,3 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
labels: ${{ steps.meta.outputs.labels }}
tags: ${{ steps.meta.outputs.tags }}
build-args: |
BUILD_DATE=${{ env.BUILD_DATE }}
VCS_REF=${{ env.VCS_REF }}
10 changes: 0 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,12 @@

FROM alpine:edge AS builder

LABEL maintainer="Patrik Juvonen <22572159+patrikjuvonen@users.noreply.github.com>"

ENV NGINX_VERSION 1.23.2
ENV QUICHE_CHECKOUT 24a959abf115923910ce18985aa199d85fb602d7
ENV MODSEC_TAG v3/master
ENV MODSEC_NGX_TAG master
ENV NJS_TAG 0.7.9

# Build-time metadata as defined at https://label-schema.org
ARG BUILD_DATE
ARG VCS_REF

RUN set -x; GPG_KEYS=13C82A63B603576156E30A4EA0EA981B66B0D967 \
&& CONFIG="\
--prefix=/etc/nginx \
Expand Down Expand Up @@ -268,7 +262,3 @@ COPY modsec/* /etc/nginx/modsec/
STOPSIGNAL SIGTERM

CMD ["nginx", "-g", "daemon off;"]

LABEL org.label-schema.build-date=$BUILD_DATE \
org.label-schema.vcs-ref=$VCS_REF \
org.label-schema.vcs-url="https://github.com/patrikjuvonen/docker-nginx-http3.git"
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ Images for this are available on
**GitHub Container Registry (GHCR):**
`docker pull ghcr.io/patrikjuvonen/docker-nginx-http3`

Semantic versioning is enabled since 519e20d7f65d53b976cf7d13e364dca326e988b7,
the first semantic version being 2.0.0. You can use it with the tag `:2.0.0`,
`:2.0`, `:2` and so on.

This is a base image like the default _nginx_ image. It is meant to be used as a
drop-in replacement for the nginx base image.

Expand Down

0 comments on commit c166424

Please sign in to comment.