diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 29ff759d..5e34f249 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -149,17 +149,21 @@ jobs: run: | echo "registry_path=${{ steps.push.outputs.registry-paths }}" echo "digest=${{ steps.push.outputs.digest }}" - echo "${matrix.service}_digest=$digest\n" >> $GITHUB_OUTPUT + echo "${service}_digest=${digest}" >> $GITHUB_OUTPUT if: contains(fromJSON('["aries-endorser-db"]'), matrix.service) + env: + service: ${{ matrix.service }} - name: Display image results id: digest run: | echo 'imageid=${{ steps.docker_build.outputs.imageid }}' echo 'digest=${{ steps.docker_build.outputs.digest }}' - echo "${matrix.service}_digest=$digest\n" >> $GITHUB_OUTPUT + echo "${service}_digest=${digest}" >> $GITHUB_OUTPUT if: contains(fromJSON('["aries-endorser-agent","aries-endorser-backup","aries-endorser-api","aries-endorser-proxy"]'), matrix.service) - + env: + service: ${{ matrix.service }} + deploy2dev: needs: build env: