Use latest tag for worker deploys
All checks were successful
Build and deploy Worker / build (push) Successful in 24s
All checks were successful
Build and deploy Worker / build (push) Successful in 24s
This commit is contained in:
@@ -11,7 +11,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
SERVICE_NAME: worker
|
SERVICE_NAME: worker
|
||||||
IMAGE_SHA: gitea.dsrptlab.com/mapflow/worker:${{ github.sha }}
|
IMAGE_SHA: gitea.dsrptlab.com/mapflow/worker:${{ github.sha }}
|
||||||
IMAGE_MAIN: gitea.dsrptlab.com/mapflow/worker:main
|
IMAGE_LATEST: gitea.dsrptlab.com/mapflow/worker:latest
|
||||||
DOKPLOY_DEPLOY_WEBHOOK: http://sin.dsrptlab.com:3000/api/deploy/FqP8dqyUZYCWfMSK4reuM
|
DOKPLOY_DEPLOY_WEBHOOK: http://sin.dsrptlab.com:3000/api/deploy/FqP8dqyUZYCWfMSK4reuM
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@@ -32,7 +32,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
docker buildx use "$builder"
|
docker buildx use "$builder"
|
||||||
docker buildx inspect --bootstrap
|
docker buildx inspect --bootstrap
|
||||||
docker buildx build --push --tag "$IMAGE_SHA" --tag "$IMAGE_MAIN" .
|
docker buildx build --push --tag "$IMAGE_SHA" --tag "$IMAGE_LATEST" .
|
||||||
|
|
||||||
- name: Skip stale deployment
|
- name: Skip stale deployment
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user