Skip to content

Commit

Permalink
Fix get image
Browse files Browse the repository at this point in the history
  • Loading branch information
text-adi committed Apr 4, 2024
1 parent 61e6628 commit 6603aff
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,9 @@ jobs:
- name: Get version
id: _tmp_last_tag
env:
DOCKERHUB_REPO: ${{ secrets.DOCKER_USERNAME }}
DOCKERHUB_IMAGE: ${{ vars.APP_NAME }}
DOCKERHUB_IMAGE: ${{ vars.BASE_IMAGE }}
run: |
version=$(curl -L --fail "https://hub.docker.com/v2/repositories/${{ env.DOCKERHUB_REPO }}/${{ env.DOCKERHUB_IMAGE }}/tags/?page_size=1000" | \
version=$(curl -L --fail "https://hub.docker.com/v2/repositories/${{ env.DOCKERHUB_IMAGE }}/tags/?page_size=1000" | \
jq '.results | .[] | .name' -r | \
sed 's/latest//' | \
sort --version-sort | \
Expand Down

0 comments on commit 6603aff

Please sign in to comment.