From 2b9467ac0205adacdd9612a420ea3e62bfd408c6 Mon Sep 17 00:00:00 2001 From: Ricardo Campos Date: Sun, 5 Apr 2026 16:51:51 -0300 Subject: [PATCH] fix: backend and fronend tags --- .github/workflows/deploy.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index aee182e..1d8dadd 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -54,7 +54,7 @@ jobs: backend_image="${{ github.event.inputs.backend_image }}" frontend_image="${{ github.event.inputs.frontend_image }}" - latest_backend_tag="$(git tag --list 'api-v*' --sort=-v:refname | head -n 1)" + latest_backend_tag="$(git tag --list 'api-*' --sort=-v:refname | head -n 1)" latest_frontend_tag="$(git tag --list 'app-v*' --sort=-v:refname | head -n 1)" if [ -z "$latest_backend_tag" ]; then @@ -68,10 +68,10 @@ jobs: fi if [ -z "$backend_image" ]; then - backend_image="ghcr.io/${{ github.repository }}/backend:$latest_backend_tag" + backend_image="ghcr.io/${{ github.repository }}/api:$latest_backend_tag" fi if [ -z "$frontend_image" ]; then - frontend_image="ghcr.io/${{ github.repository }}/frontend:$latest_frontend_tag" + frontend_image="ghcr.io/${{ github.repository }}/app:$latest_frontend_tag" fi echo "Resolved backend_image=$backend_image"