update build
This commit is contained in:
4
.github/workflows/caprover.yml
vendored
4
.github/workflows/caprover.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user