Skip to content

Trigger report after build #77

Trigger report after build

Trigger report after build #77

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:
needs:
- bake
uses: actions/github-script@v6

Check failure on line 37 in .github/workflows/publish.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish.yaml

Invalid workflow file

invalid value workflow reference: references to workflows must be rooted in '.github/workflows'
with:
github-token: ${{ secrets.GHP_ACCESS_TOKEN }}
script: |
await github.rest.actions.createWorkflowDispatch({
owner: 'DARPA-ASKEM',
repo: 'simulation-integration',
workflow_id: 'report.yaml',
ref: 'main',
});