Build and push toolbox image to ECR #30
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
name: Build and publish toolbox image to ECR | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
gitRef: | ||
description: 'Commit, tag or branch name to deploy' | ||
required: true | ||
type: string | ||
default: 'main' | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- "images/toolbox/Dockerfile" | ||
schedule: | ||
- cron: '0 0 * * 1' | ||
jobs: | ||
build-and-push-image: | ||
Check failure on line 22 in .github/workflows/build-toolbox-image.yml GitHub Actions / Build and publish toolbox image to ECRInvalid workflow file
|
||
uses: alphagov/govuk-infrastructure/.github/workflows/build-and-push-image.yml@main | ||
with: | ||
gitRef: ${{ inputs.gitRef || github.ref }} | ||
ecrRepositoryName: toolbox | ||
dockerfilePath: images/toolbox/Dockerfile |