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
This commit is contained in:
Daniel Carrillo 2023-03-16 20:35:42 +01:00 committed by GitHub
parent 5f90de281b
commit be2413625f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -1,4 +1,4 @@
FROM alpine:3.16
FROM alpine:3.17
ARG ARG_NGINX_VERSION

View File

@ -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

View File

@ -1,2 +1,2 @@
NGINX_VERSION=1.23.1
NGINX_VERSION=1.23.3
DOCKER_IMAGE=dcarrillo/nginx