Skip to content

Commit

Permalink
fix metric name and add debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
momentmaker committed Aug 7, 2024
1 parent 253e74d commit a903b20
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build-publish-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -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

0 comments on commit a903b20

Please sign in to comment.