Skip to content

Commit

Permalink
Update docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ellitedev committed Dec 3, 2023
1 parent a326336 commit 8bd7246
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
tags: registry.ellite.dev/raibu-web:${{ github.ref_name }}
- name: Update latest tag
run: |
LATEST_TAG=$(curl -s https://api.github.com/repos/${{ github.repository }}/tags | jq -r '.[].name' | sort -V | tail -n 1)
LATEST_TAG=$(curl -s https://api.github.com/repos/${{ github.repository }}/tags | jq -r '.[] | select(type=="object") | .name' | sort -V | tail -n 1)
CURRENT_TAG=${{ github.ref_name }}
SEMVER_REGEX="^v([0-9]+)\.([0-9]+)\.([0-9]+)$"
if [[ ! $CURRENT_TAG =~ $SEMVER_REGEX ]]; then
Expand Down

0 comments on commit 8bd7246

Please sign in to comment.