Skip to content

Commit

Permalink
Test add link
Browse files Browse the repository at this point in the history
  • Loading branch information
fabergat committed Jan 23, 2025
1 parent 6329a25 commit 940bcdc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker_release_link.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ jobs:
DOCKER_REPO="blockstack/sbtc"
TAG=${{ github.event.inputs.release_tag }}
DIGEST=$(curl -s https://hub.docker.com/v2/repositories/$DOCKER_REPO/tags/signer-$TAG | jq -r '.images[0].digest')
echo "link=hub.docker.com/layers/$DOCKER_REPO/$TAG/images/$DIGEST" >> $GITHUB_ENV
echo "link=hub.docker.com/layers/$DOCKER_REPO/signer-$TAG/images/$DIGEST" >> $GITHUB_ENV
- name: Update Release with Docker Image Link
uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 #v7.0.0
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea #v7.0.1
with:
script: |
const link = process.env.link;
Expand All @@ -46,7 +46,7 @@ jobs:
owner: context.repo.owner,
repo: context.repo.repo,
release_id: releaseId,
body: `${github.event.inputs.release_body}\n\n**Release Docker Image:** [${https://link}](https://${link})`
body: `${github.event.inputs.release_body}\n\n**Release Docker Image:** [https://${link}](https://${link})`
});
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 940bcdc

Please sign in to comment.