diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 1565ec2b..eaf6e6c2 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -89,7 +89,7 @@ jobs: uses: docker/setup-buildx-action@v3 - name: Login to image registry - if: matrix.REGISTRY_USERNAME_SECRET_NAME != '' + if: matrix.REGISTRY_USERNAME_SECRET_NAME != ''&& matrix.SOURCE_IMAGE_REGISTRY != '' uses: docker/login-action@v3 with: registry: ${{ matrix.SOURCE_IMAGE_REGISTRY }} @@ -151,7 +151,7 @@ jobs: image: ${{ matrix.service }} tags: ${{ steps.extract.outputs.tags }} # labels would have to be added to the image after the S2I build - + - name: Push database image id: push if: contains(fromJSON('["aries-endorser-db"]'), matrix.service)