From be2413625f573e90ce59ad2f6e21c10215fba94f Mon Sep 17 00:00:00 2001 From: dcarrillo Date: Thu, 16 Mar 2023 20:35:42 +0100 Subject: [PATCH] Bump nginx to 1.23.3 and alpine base image to 3.17 (#24) * Bump nginx to 1.23.3 and alpine base image to 3.17 * [chore] Update github actions --- .github/workflows/main.yml | 4 ++-- Dockerfile | 2 +- README.md | 4 ++-- conf.env | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 892d913..617c042 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,7 +12,7 @@ jobs: if: github.event_name == 'pull_request' steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v3 - name: shellcheck uses: azohra/shell-linter@v0.4.0 @@ -31,7 +31,7 @@ jobs: if: github.event_name == 'push' steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v3 - name: Log in to dockerhub run: echo "${{ secrets.DOCKERHUB_TOKEN }}" | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin diff --git a/Dockerfile b/Dockerfile index 75022da..fde28f9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.16 +FROM alpine:3.17 ARG ARG_NGINX_VERSION diff --git a/README.md b/README.md index 83b6e28..f04cd39 100644 --- a/README.md +++ b/README.md @@ -28,13 +28,13 @@ Build locally: ./build.sh ``` -Build locally and upload to a registry (you must be logged in to the registry) +Build locally and upload the image to a registry (you must be logged in to the registry) ```bash ./build.sh --push ``` -Build locally, tag image as latest and upload to a registry (you must be logged in to the registry) +Build locally, tag the image as latest and upload it to a registry (you must be logged in to the registry) ```bash ./build.sh --push --latest diff --git a/conf.env b/conf.env index 3ce541b..891cd1b 100644 --- a/conf.env +++ b/conf.env @@ -1,2 +1,2 @@ -NGINX_VERSION=1.23.1 +NGINX_VERSION=1.23.3 DOCKER_IMAGE=dcarrillo/nginx