Skip to content

Use HTTP solution

Use HTTP solution #78

Workflow file for this run

---
# Automatically build Docker images on changes to main and push them to a
# Container Registry using HCL Bake file.
name: Build Docker Images
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/docker-bake.hcl'
group: 'prod'
registry: 'ghcr.io'
no-cache: true
organization: ${{ github.repository_owner }}
tag: ${{ needs.tag-generator.outputs.tag }}
secrets:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
# Execute simulation-integration reporting
simulation-integration:
runs-on: ubuntu-latest
steps:
- name: Report
run: |
curl -X POST 'https://api.github.com/repos/DARPA-ASKEM/simulation-integration/actions/workflows/ci-development.yml/dispatches' \
-H 'Accept: application/vnd.github.everest-preview+json' \
-H 'Authorization: Bearer ${{ secrets.GHP_ACCESS_TOKEN }}' \
-d '{"ref":"main"}'