Skip to content

Commit fcdd04d

Browse files
committed
call publish to github
1 parent 44746cc commit fcdd04d

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.github/workflows/publish_nhsd_git_secrets_to_github.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
inputs:
1010
ecr_name:
1111
type: string
12-
description: "The name of the ECR repository to push the dev container image to."
12+
description: "The name of the ECR repository to pull the git-secrets image from."
1313
required: true
1414
container_image_tag:
1515
type: string

.github/workflows/pull_request.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,16 @@ jobs:
9292
secrets:
9393
PUSH_IMAGE_ROLE: ${{ secrets.DEV_CONTAINER_PUSH_IMAGE_ROLE }}
9494

95+
publish_nhsd_git_secrets_to_github:
96+
needs:
97+
[get_asdf_version, get_issue_number_and_commit_id, build_nhsd_git_secrets]
98+
uses: ./.github/workflows/publish_nhsd_git_secrets_to_github.yml
99+
with:
100+
ecr_name: git-secrets
101+
container_image_tag: PR-${{ needs.get_issue_number_and_commit_id.outputs.issue_number }}-${{ needs.get_issue_number_and_commit_id.outputs.sha_short }}-nhsd-git-secrets
102+
secrets:
103+
PUSH_IMAGE_ROLE: ${{ secrets.DEV_CONTAINER_PUSH_IMAGE_ROLE }}
104+
95105
tag_release:
96106
needs: [quality_checks, get_asdf_version]
97107
uses: ./.github/workflows/tag-release.yml

0 commit comments

Comments
 (0)