Skip to content

Commit

Permalink
Publish message to image-puller SNS topic for qemu images (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
jjacobelli authored Jul 11, 2024
1 parent ba8999d commit 46c8293
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
NV_TIMESTAMP: ${{ needs.compute-constants.outputs.TIMESTAMP }}
steps:
- name: Configure AWS Credentials
id: aws-creds
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ vars.VM_IMAGES_AWS_ROLE_ARN }}
Expand Down Expand Up @@ -119,3 +120,8 @@ jobs:
push: true
pull: true
tags: ${{ steps.ecr-login.outputs.registry }}/nv-gha-runners/kubevirt-images:${{ env.NV_IMAGE_NAME }}
- name: Publish message to image-puller SNS topic
if: matrix.ENV == 'qemu' && inputs.upload_artifacts
run: |
aws sns publish --topic-arn "arn:aws:sns:${{ vars.AWS_REGION }}:${{ steps.aws-creds.outputs.aws-account-id }}:arc-nvks-image-puller" \
--message ${{ steps.ecr-login.outputs.registry }}/nv-gha-runners/kubevirt-images:${{ env.NV_IMAGE_NAME }}

0 comments on commit 46c8293

Please sign in to comment.