Skip to content

Services Deploy (all) [env: staging] #6

Services Deploy (all) [env: staging]

Services Deploy (all) [env: staging] #6

Workflow file for this run

name: Services Deploy (all)
run-name: 'Services Deploy (all) [env: ${{ inputs.env }}]'
on:
workflow_dispatch:
inputs:
env:
description: 'Deployment target environment'
type: choice
required: true
options:
- dev
- test
- staging
- prod
permissions:
id-token: write
contents: read
jobs:
build-base-image:
runs-on: ubuntu-latest
environment: ${{ inputs.env }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build base image
id: build-base-image
run: |
: # Don't build the base image with NODE_ENV because it'll limit the packages that are installed
docker build -t terramatch-microservices-base:nx-base .
job-service:
uses: wri/terramatch-microservices/.github/workflows/deploy-service.yml@task/TM-1448-unified-deployment
with:
env: ${{ inputs.env }}
service: job-service
batch_run: true
secrets: inherit