From a903b20a280c1174b35ece181a5e0818dbdeb2e8 Mon Sep 17 00:00:00 2001 From: frank zhu Date: Wed, 7 Aug 2024 14:23:41 -0500 Subject: [PATCH] fix metric name and add debug log --- .github/workflows/build-publish-develop.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-publish-develop.yml b/.github/workflows/build-publish-develop.yml index 616880a530b..b4ef6080780 100644 --- a/.github/workflows/build-publish-develop.yml +++ b/.github/workflows/build-publish-develop.yml @@ -54,7 +54,7 @@ jobs: mask-aws-account-id: true role-session-name: goreleaser-build-publish-chainlink - - name: Build, sign, and publish image + - name: Build and publish images id: goreleaser-build-publish uses: ./.github/actions/goreleaser-build-sign-publish with: @@ -70,9 +70,12 @@ jobs: - name: Output image name and digest shell: sh env: + METADATA: ${{ steps.goreleaser-build-publish.outputs.goreleaser-metadata }} ARTIFACTS: ${{ steps.goreleaser-build-publish.outputs.goreleaser-artifacts }} run: | - echo '### Docker Images' >> $GITHUB_STEP_SUMMARY + echo "$METADATA" + echo "$ARTIFACTS" + echo "### Docker Images" >> $GITHUB_STEP_SUMMARY echo "$ARTIFACTS" | jq -r '.[] | select(.type == "Archive") | "`\(.goarch)-digest`: \(.extra.Checksum)"' >> output.txt while read -r line; do if [[ $line == *"amd64-digest"* ]]; then @@ -94,5 +97,5 @@ jobs: org-id: ${{ secrets.GRAFANA_INTERNAL_TENANT_ID }} basic-auth: ${{ secrets.GRAFANA_INTERNAL_BASIC_AUTH }} hostname: ${{ secrets.GRAFANA_INTERNAL_HOST }} - this-job-name: build-publish-chainlink-develop + this-job-name: goreleaser-build-publish-chainlink continue-on-error: true \ No newline at end of file