diff --git a/.github/workflows/nginx.yml b/.github/workflows/nginx.yml index e6b2fe6..beae397 100644 --- a/.github/workflows/nginx.yml +++ b/.github/workflows/nginx.yml @@ -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