Files
wordpress-docker/.github/workflows/nginx.yml
Elijah Duffy b5ec428e4d
Some checks failed
nginx-build / build (push) Failing after 24s
forget vibes, diy simplify the nginx build
2025-12-07 23:06:45 -08:00

37 lines
917 B
YAML

name: nginx-build
on:
push:
branches: [main]
paths:
- "nginx/**"
- ".github/workflows/nginx.yml"
pull_request:
branches: [main]
paths:
- "nginx/**"
- ".github/workflows/nginx.yml"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Login to AUVEM Registry
uses: docker/login-action@v3
with:
registry: gitea.auvem.com
username: ${{ vars.REGISTRY_USER || github.actor }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v6
with:
file: "{context}/nginx/Dockerfile"
tags: |
gitea.auvem.com/auvem/wordpress-docker/auvem-nginx:latest
gitea.auvem.com/auvem/wordpress-docker/auvem-nginx:${{ github.sha }}