mirror of
https://github.com/dcarrillo/docker-nginx.git
synced 2025-01-04 22:56:48 +00:00
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:
parent
5f90de281b
commit
be2413625f
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@ -12,7 +12,7 @@ jobs:
|
|||||||
if: github.event_name == 'pull_request'
|
if: github.event_name == 'pull_request'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: shellcheck
|
- name: shellcheck
|
||||||
uses: azohra/shell-linter@v0.4.0
|
uses: azohra/shell-linter@v0.4.0
|
||||||
@ -31,7 +31,7 @@ jobs:
|
|||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Log in to dockerhub
|
- name: Log in to dockerhub
|
||||||
run: echo "${{ secrets.DOCKERHUB_TOKEN }}" | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
|
run: echo "${{ secrets.DOCKERHUB_TOKEN }}" | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM alpine:3.16
|
FROM alpine:3.17
|
||||||
|
|
||||||
ARG ARG_NGINX_VERSION
|
ARG ARG_NGINX_VERSION
|
||||||
|
|
||||||
|
@ -28,13 +28,13 @@ Build locally:
|
|||||||
./build.sh
|
./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
|
```bash
|
||||||
./build.sh --push
|
./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
|
```bash
|
||||||
./build.sh --push --latest
|
./build.sh --push --latest
|
||||||
|
Loading…
Reference in New Issue
Block a user