terarium dataservice migration changes (#177) #131
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
--- | |
# Automatically build Docker images on changes to main and push them to a | |
# Container Registry using HCL Bake file. | |
name: Build Docker Images | |
# yamllint disable-line rule:truthy | |
on: | |
workflow_dispatch: | |
push: | |
branches: ['main'] | |
tags: ['*'] | |
jobs: | |
# Call the Tag Generator to generate an image tag to use | |
tag-generator: | |
uses: darpa-askem/.github/.github/workflows/tag-generator.yaml@main | |
# Build and Publish all targets associated with specified group | |
bake: | |
needs: | |
- tag-generator | |
uses: darpa-askem/.github/.github/workflows/bake-publish.yml@main | |
with: | |
file: 'docker-bake.hcl' | |
group: 'prod' | |
registry: 'ghcr.io' | |
organization: ${{ github.repository_owner }} | |
tag: ${{ needs.tag-generator.outputs.tag }} | |
secrets: | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
# Execute knowledeg-middleware reporting | |
report: | |
runs-on: ubuntu-latest | |
needs: | |
- bake | |
steps: | |
- name: Report | |
env: | |
GITHUB_TOKEN: ${{ secrets.GHP_ACCESS_TOKEN }} | |
run: | | |
gh workflow run report.yaml --repo DARPA-ASKEM/knowledge-middleware --ref main |