We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70dfa7b commit e2a4cbaCopy full SHA for e2a4cba
1 file changed
.github/workflows/deploy.yml
@@ -54,8 +54,8 @@ jobs:
54
backend_image='${{ github.event.inputs.backend_image }}'
55
frontend_image='${{ github.event.inputs.frontend_image }}'
56
57
- latest_backend_tag="$(git tag --list 'api-v*' --sort=-v:refname | tail -n1)"
58
- latest_frontend_tag="$(git tag --list 'app-v*' --sort=-v:refname | tail -n1)"
+ latest_backend_tag="$(git tag --list 'api-v*' --sort=-v:refname | head -n 1)"
+ latest_frontend_tag="$(git tag --list 'app-v*' --sort=-v:refname | head -n 1)"
59
60
if [ -z "$latest_backend_tag" ]; then
61
echo "No backend tag found matching api-v*" >&2
0 commit comments