We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce4623d commit bc28e5bCopy full SHA for bc28e5b
.github/workflows/docker-image.yml
@@ -22,7 +22,11 @@ jobs:
22
id: get_latest_tag
23
run: |
24
latest_tag=$(curl -s https://api.github.com/repos/intersectmbo/cardano-db-sync/releases/latest | jq -r .tag_name)
25
- echo "::set-output name=tag::$latest_tag"
+ echo Target build tag: $latest_tag
26
+ if [[ -z "$latest_tag" || "$latest_tag" == "null" ]]; then
27
+ echo "Failed to get latest tag"; exit 1
28
+ fi
29
+ echo "tag=$latest_tag" >> $GITHUB_OUTPUT
30
31
- name: Log in to GitHub Container Registry
32
uses: docker/login-action@v1
0 commit comments