Skip to content

Commit

Permalink
ci: add workflow to build proxy images
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Nov 5, 2023
1 parent f9a6b17 commit a9f34c1
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/build_proxy_imgs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
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/[email protected]
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/[email protected]
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/[email protected]
with:
context: nginx
target: main
image_tags: |
"ghcr.io/${{ github.repository }}/proxy:main"
build-proxy-dev:
uses: hotosm/gh-workflows/.github/workflows/[email protected]
with:
context: nginx
target: development
image_tags: |
"ghcr.io/${{ github.repository }}/proxy:development"
"ghcr.io/${{ github.repository }}/proxy:staging"

0 comments on commit a9f34c1

Please sign in to comment.