diff --git a/.github/workflows/build-test-push-workflow.yml b/.github/workflows/build-test-push-workflow.yml index d954b1314..109526784 100644 --- a/.github/workflows/build-test-push-workflow.yml +++ b/.github/workflows/build-test-push-workflow.yml @@ -84,6 +84,12 @@ jobs: - name: Login to Amazon ECR id: login-ecr uses: aws-actions/amazon-ecr-login@v1 + - name: Login to Redhat registry + uses: docker/login-action@v3 + with: + registry: .azurecr.io + username: ${{ secrets.REDHAT_REGISTRY_ID }} + password: ${{ secrets.REDHAT_REGISTRY_PASSWORD }} - name: Make Splunk Operator Image run: | make docker-build IMG=${{ secrets.ECR_REPOSITORY }}/${{ env.SPLUNK_OPERATOR_IMAGE_NAME }}:$GITHUB_SHA @@ -117,6 +123,7 @@ jobs: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} aws-region: ${{ secrets.AWS_DEFAULT_REGION }} + - name: Login to Amazon ECR uses: aws-actions/amazon-ecr-login@v1 - name: Pull Splunk Operator Image Locally