Use latest tag for backend deploys
All checks were successful
Build and deploy Backend / build (push) Successful in 29s
All checks were successful
Build and deploy Backend / build (push) Successful in 29s
This commit is contained in:
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user