build: fix script.conf nginx, get the script only #9
Workflow file for this run
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 Proxy Images | ||
on: | ||
# Trigger on schedule | ||
schedule: | ||
# Run midnight 1st and 15th of every month | ||
- cron: "0 0 * * 1,15" | ||
# Allow manual trigger | ||
workflow_dispatch: | ||
jobs: | ||
build-cert-init-main: | ||
uses: hotosm/gh-workflows/.github/workflows/image_build.yml@1.1.2 | ||
with: | ||
context: nginx | ||
target: certs-init-main | ||
image_tags: | | ||
"ghcr.io/${{ github.repository }}/proxy:certs-init-main" | ||
build-cert-init-dev: | ||
uses: hotosm/gh-workflows/.github/workflows/image_build.yml@1.1.2 | ||
with: | ||
context: nginx | ||
target: certs-init-development | ||
image_tags: | | ||
"ghcr.io/${{ github.repository }}/proxy:certs-init-development" | ||
"ghcr.io/${{ github.repository }}/proxy:certs-init-staging" | ||
build-proxy-main: | ||
uses: hotosm/gh-workflows/.github/workflows/image_build.yml@1.1.2 | ||
with: | ||
context: nginx | ||
target: main | ||
image_tags: | | ||
"ghcr.io/${{ github.repository }}/proxy:main" | ||
build-proxy-dev: | ||
uses: hotosm/gh-workflows/.github/workflows/image_build.yml@1.1.2 | ||
with: | ||
context: nginx | ||
target: development | ||
image_tags: | | ||
"ghcr.io/${{ github.repository }}/proxy:development" | ||
"ghcr.io/${{ github.repository }}/proxy:staging" |