Skip to content

Commit

Permalink
Update build-docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gangefors authored Dec 7, 2024
1 parent ab7f65e commit 86dee4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ jobs:
-
name: Does latest stable release exist as docker image
run: |
echo "num_rels_found=$(curl -fsL 'https://hub.docker.com/v2/repositories/gangefors/airdcpp-webclient/tags/?page_size=10&ordering=last_updated' | jq -r '.results[].name' | grep -c '${{env.release_tag}}')" >> $GITHUB_ENV
echo "num_rels_found=$(curl -fsL 'https://hub.docker.com/v2/repositories/gangefors/airdcpp-webclient/tags/?page_size=10&ordering=last_updated' | jq -r '.results[].name' | grep -c '^${{env.release_tag}}\$')" >> $GITHUB_ENV
-
name: Get latest develop airdcpp release
run: |
echo "dev_tag=$(curl -fsL https://web-builds.airdcpp.net/develop/ | grep "_64-bit_portable.tar.gz" | grep -v latest | sort -t "_" -k1.14rV | head -n1 | cut -d "_" -f 2)" >> $GITHUB_ENV
-
name: Does latest develop release exist as docker image
run: |
echo "num_dev_rels_found=$(curl -fsL 'https://hub.docker.com/v2/repositories/gangefors/airdcpp-webclient/tags/?page_size=10&ordering=last_updated' | jq -r '.results[].name' | grep -c '${{env.dev_tag}}')" >> $GITHUB_ENV
echo "num_dev_rels_found=$(curl -fsL 'https://hub.docker.com/v2/repositories/gangefors/airdcpp-webclient/tags/?page_size=10&ordering=last_updated' | jq -r '.results[].name' | grep -c '^${{env.dev_tag}}\$')" >> $GITHUB_ENV
-
run: |
echo "Stable Version: ${{env.release_tag}} Existing tags: ${{env.num_rels_found}}"
Expand Down

0 comments on commit 86dee4b

Please sign in to comment.