Build nginx reverse proxy container image #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build-nginx | |
run-name: "Build nginx reverse proxy container image" | |
on: | |
push: | |
paths: | |
- nginx/** | |
jobs: | |
build-container-image: | |
runs-on: ubuntu-latest | |
permissions: | |
packages: write | |
contents: read | |
steps: | |
- uses: actions/checkout@v4 | |
name: "Checkout repository" | |
- uses: VaultVulp/[email protected] | |
name: "Build and upload Docker image" | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
image-name: nginx | |
build-context: nginx/ | |
dockerfile: nginx/Dockerfile |