Skip to content

Merge pull request #11 from DARPA-ASKEM/10-add-no-cache-support-to-do… #32

Merge pull request #11 from DARPA-ASKEM/10-add-no-cache-support-to-do…

Merge pull request #11 from DARPA-ASKEM/10-add-no-cache-support-to-do… #32

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
# yamllint disable-line rule:truthy
on:
workflow_dispatch:
push:
branches: ['main']
tags: ['*']
jobs:
# Call the Lint & Format workflow before publishing
verify:
uses: ./.github/workflows/lint.yaml
# 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:
- verify
- tag-generator
uses: darpa-askem/.github/.github/workflows/bake-publish.yml@main
with:
file: 'docker-bake.hcl'
group: 'prod'
registry: 'ghcr.io'
flags: '--no-cache'

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

View workflow run for this annotation

GitHub Actions / Build Docker Images

Invalid workflow file

The workflow is not valid. .github/workflows/publish.yaml (Line: 32, Col: 14): Invalid input, flags is not defined in the referenced workflow.
organization: ${{ github.repository_owner }}
tag: ${{ needs.tag-generator.outputs.tag }}
secrets:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}