alphagov / govuk-infrastructure

Terraform turnup automation for the EKS Kubernetes clusters that host GOV.UK. See https://github.com/alphagov/govuk-helm-charts for application config.
MIT License
138 stars 24 forks source link

Push to images to ghcr.io #1365

Closed theseanything closed 1 month ago

theseanything commented 1 month ago

This enables the image build and push workflows to also push images to ghcr.io (whilst continuing to push to ECR). This allows us to configure pull through cache for ECR, instead having to push directly to ECR.

Future work should rename the inputs to remove references to "ecr".

Calling workflows need to be updated to pass the packages: write permission, before this can be merged.

Tested on Release.