Fix bot management for delete and stop
This commit is contained in:
30
.github/workflows/caprover.yml
vendored
30
.github/workflows/caprover.yml
vendored
@@ -10,13 +10,29 @@ jobs:
|
||||
steps:
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@v4
|
||||
- name: Build and test your app (customize as needed)
|
||||
run: |
|
||||
# Add your build and test commands here
|
||||
# For example:
|
||||
# npm install
|
||||
# npm run build
|
||||
# npm run test
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Login to Container Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Preset Image Name
|
||||
run: echo "IMAGE_URL=$(echo ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}:$(echo ${{ github.sha }} | cut -c1-7) | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV
|
||||
|
||||
- name: Build and push Docker Image
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: ./src/Managing.WebApp
|
||||
file: ./src/Managing.WebApp/Dockerfile-web-ui-dev
|
||||
push: true
|
||||
tags: ${{ env.IMAGE_URL }}
|
||||
|
||||
|
||||
# - name: Create deploy.tar
|
||||
# uses: a7ul/tar-action@v1.1.0
|
||||
# with:
|
||||
|
||||
Reference in New Issue
Block a user