EPMRPP-110955 | migrate dockerhub-release workflow to reusable OIDC-based pipeline #170
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Retag RC Docker image | |
| on: | |
| pull_request_review: | |
| types: [submitted] | |
| jobs: | |
| release: | |
| if: > | |
| github.event.review.state == 'approved' | |
| # TODO: Pin reusable workflow to a version tag once v1 is released | |
| uses: reportportal/.github/.github/workflows/dockerhub-release.yaml@main | |
| secrets: | |
| REGESTRY_USERNAME: ${{ secrets.REGESTRY_USERNAME }} | |
| REGESTRY_PASSWORD: ${{ secrets.REGESTRY_PASSWORD }} | |
| with: | |
| aws-region: ${{ vars.AWS_REGION }} | |
| aws-role-arn: ${{ vars.AWS_ROLE_ARN }} | |
| ecr-repository: service-authorization | |
| target-registry: docker.io | |
| target-repository: reportportal/service-authorization | |
| platforms: linux/amd64 | |
| release-mode: rc |