Build docker image for workers

This commit is contained in:
2025-11-25 12:26:17 +07:00
parent 3802187155
commit a93c738032

View File

@@ -37,6 +37,19 @@ jobs:
${{ env.IMAGE_URL }}
ghcr.io/cryptooda/managing-api:latest
- name: Preset Workers Image Name
run: echo "WORKERS_IMAGE_URL=$(echo ghcr.io/cryptooda/managing-workers:$(echo ${{ github.sha }} | cut -c1-7) | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV
- name: Build and push Workers Docker Image
uses: docker/build-push-action@v5
with:
context: .
file: ./src/Dockerfile-worker-api-dev
push: true
tags: |
${{ env.WORKERS_IMAGE_URL }}
ghcr.io/cryptooda/managing-workers:latest
# - name: Deploy Image to CapRover
# uses: caprover/deploy-from-github@v1.1.2
# with: