From a334ad7da5fa4cb73995ede339edb51011bebba7 Mon Sep 17 00:00:00 2001 From: Eduardo Fernandes de Souza Date: Fri, 6 Oct 2023 14:47:29 -0300 Subject: [PATCH] test: 08 running pipe on the correct branch pre-deployment --- .github/workflows/sample-app.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sample-app.yaml b/.github/workflows/sample-app.yaml index 3346852..eebdec5 100644 --- a/.github/workflows/sample-app.yaml +++ b/.github/workflows/sample-app.yaml @@ -46,7 +46,7 @@ jobs: - name: Extract Image sha256 id: image-digest run: | - IMAGE_DIGEST=$(docker inspect --format='{{index .RepoDigests 0}}' "${{ github.repository_owner }}/${{ steps.extract-repository-name.outputs.REPO_NAME }}:${{ steps.docker-image.outputs.IMAGE_NAME }}" | cut -d "@" -f 2) + IMAGE_DIGEST=$(docker inspect --format='{{index .RepoDigests 0}}' "${{ secrets.DOCKER_USERNAME }}/${{ steps.extract-repository-name.outputs.REPO_NAME }}:${{ steps.docker-image.outputs.IMAGE_NAME }}" | cut -d "@" -f 2) echo "IMAGE_DIGEST=${IMAGE_DIGEST}" >> $GITHUB_OUTPUT - name: Setup yq portable command-line YAML, JSON, XML, CSV, TOML and properties processor uses: mikefarah/yq@v4.35.2