Use latest tag for backend deploys
All checks were successful
Build and deploy Backend / build (push) Successful in 29s

This commit is contained in:
Ruslan Bakiev
2026-05-09 15:02:23 +07:00
parent 8943eeb0d7
commit 66dfadef2e

View File

@@ -11,7 +11,7 @@ jobs:
env:
SERVICE_NAME: backend
IMAGE_SHA: gitea.dsrptlab.com/mapflow/backend:${{ github.sha }}
IMAGE_MAIN: gitea.dsrptlab.com/mapflow/backend:main
IMAGE_LATEST: gitea.dsrptlab.com/mapflow/backend:latest
DOKPLOY_DEPLOY_WEBHOOK: http://sin.dsrptlab.com:3000/api/deploy/x3IYnQHykbR__LYwh0LPH
steps:
- uses: actions/checkout@v4
@@ -32,7 +32,7 @@ jobs:
fi
docker buildx use "$builder"
docker buildx inspect --bootstrap
docker buildx build --push --provenance=false --tag "$IMAGE_SHA" --tag "$IMAGE_MAIN" .
docker buildx build --push --provenance=false --tag "$IMAGE_SHA" --tag "$IMAGE_LATEST" .
- name: Skip stale deployment
run: |