nginx: fix push, checkout, file context
Some checks failed
nginx-build / build (push) Failing after 2m55s
Some checks failed
nginx-build / build (push) Failing after 2m55s
This commit is contained in:
9
.github/workflows/nginx.yml
vendored
9
.github/workflows/nginx.yml
vendored
@@ -17,6 +17,11 @@ jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Login to AUVEM Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
@@ -30,7 +35,9 @@ jobs:
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
file: "{context}/nginx/Dockerfile"
|
||||
context: .
|
||||
file: ./nginx/Dockerfile
|
||||
tags: |
|
||||
gitea.auvem.com/auvem/wordpress-docker/auvem-nginx:latest
|
||||
gitea.auvem.com/auvem/wordpress-docker/auvem-nginx:${{ github.sha }}
|
||||
push: true
|
||||
|
||||
Reference in New Issue
Block a user