update build

This commit is contained in:
2025-09-07 17:01:02 +07:00
parent 9fa4843637
commit cfc5cb4185

View File

@@ -25,7 +25,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- name: Preset Image Name
run: echo "IMAGE_URL=$(echo ghcr.io/${{ github.repository_owner }}/managing-api:$(echo ${{ github.sha }} | cut -c1-7) | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV
run: echo "IMAGE_URL=$(echo ghcr.io/cryptooda/managing-api:$(echo ${{ github.sha }} | cut -c1-7) | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV
- name: Build and push Docker Image
uses: docker/build-push-action@v5
@@ -35,7 +35,7 @@ jobs:
push: true
tags: |
${{ env.IMAGE_URL }}
ghcr.io/${{ github.repository_owner }}/managing-api:latest
ghcr.io/cryptooda/managing-api:latest
- name: Deploy Image to CapRover
uses: caprover/deploy-from-github@v1.1.2