Skip to content

Commit d441a5f

Browse files
update github workflow to use env.sha and image_repo context
1 parent 2f8a7a4 commit d441a5f

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/newbuild.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -451,9 +451,8 @@ jobs:
451451
github.rest.repos.createCommitStatus({
452452
owner: context.repo.owner,
453453
repo: context.repo.repo,
454-
sha: '${{ env.HEAD_SHA }}',
454+
sha: '${{ env.sha }}',
455455
state: 'success',
456-
context: `${{ env.IMAGE }}`,
457-
target_url: '${{ env.IMAGE_URL }}',
456+
context: `${{ env.image_repo }}:${{ steps.tag.outputs.tag }}`,
458457
description: 'Available',
459458
});

0 commit comments

Comments
 (0)