We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0eb78cc commit 364ab2cCopy full SHA for 364ab2c
.github/workflows/build_container_images.yaml
@@ -20,9 +20,9 @@ jobs:
20
- uses: actions/checkout@v4
21
- name: Build image
22
run: bin/build_image ${{ matrix.image }}
23
- - if: github.repository_owner == 'ManageIQ'
+ - if: github.repository_owner == 'ManageIQ' && github.ref_name == 'master'
24
name: Docker login
25
run: echo ${{ secrets.DOCKER_REGISTRY_PASSWORD }} | docker login docker.io --password-stdin --username ${{ secrets.DOCKER_REGISTRY_USERNAME }}
26
27
name: Push container
28
run: bin/push_image ${{ matrix.image }}
0 commit comments