Skip to content

Build and push ClamAV image to ECR #46

Build and push ClamAV image to ECR

Build and push ClamAV image to ECR #46

name: Build and push ClamAV 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/clamav/**"
schedule:
- cron: '19 2 * * 1'
jobs:
build-and-push-image:
uses: alphagov/govuk-infrastructure/.github/workflows/build-and-push-multiarch-image.yml@main
with:
gitRef: ${{ inputs.gitRef || github.ref }}
imageName: clamav
dockerfilePath: images/clamav/Dockerfile
permissions:
id-token: write
contents: read
packages: write