-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add workflow to allow creating image from this branch #2510
base: main
Are you sure you want to change the base?
Conversation
ecd5d0c
to
4e48c79
Compare
4e48c79
to
1edda29
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few things to suggest.
ecrRepositoryName: | ||
description: 'ECR repo name to push image to' | ||
required: true | ||
type: choice | ||
options: | ||
- publisher-on-postgres-branch | ||
default: 'publisher-on-postgres-branch' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ecrRepositoryName: | |
description: 'ECR repo name to push image to' | |
required: true | |
type: choice | |
options: | |
- publisher-on-postgres-branch | |
default: 'publisher-on-postgres-branch' |
As there's only one ECR Repo that you intend to target, I'd consider removing this option.
uses: alphagov/govuk-infrastructure/.github/workflows/build-and-push-multiarch-image.yml@main | ||
with: | ||
gitRef: ${{ inputs.gitRef || github.event.release.tag_name }} | ||
ecrRepositoryName: ${{ inputs.ecrRepositoryName }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ecrRepositoryName: ${{ inputs.ecrRepositoryName }} | |
ecrRepositoryName: publisher-on-postgres-branch |
...and hardcode this instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
makes sense
1edda29
to
3312083
Compare
Add workflow to allow creating image from this branch
Follow these steps if you are doing a Rails upgrade.