diff --git a/.gitea/workflows/pr-cloudflare-docker-deploy.yml b/.gitea/workflows/pr-cloudflare-docker-deploy.yml index 7bdc714f..30e3c145 100644 --- a/.gitea/workflows/pr-cloudflare-docker-deploy.yml +++ b/.gitea/workflows/pr-cloudflare-docker-deploy.yml @@ -133,22 +133,32 @@ jobs: - name: Testing service list output run: | echo ${{ steps.modded_svcs.outputs.rinoa_svcs }} + # - name: Docker Compose Dry Run + # timeout-minutes: 360 + # continue-on-error: true + # uses: chaplyk/docker-compose-remote-action@v1.1 + # with: + # ssh_host: 192.168.1.254 + # ssh_port: 22 + # ssh_user: gitea-deploy + # ssh_key: ${{ secrets.RINOA_GITEA_PRIVATE_SSH_KEY }} + # service: ${{ steps.modded_svcs.outputs.rinoa_svcs }} + # compose_file: docker-compose.yml + # pull: false + # build: false + # options: -d --remove-orphans + # env: + # DOCKER_HOST: tcp://dockerproxy:2375 - name: Docker Compose Dry Run - timeout-minutes: 360 - continue-on-error: true - uses: chaplyk/docker-compose-remote-action@v1.1 - with: - ssh_host: 192.168.1.254 - ssh_port: 22 - ssh_user: gitea-deploy - ssh_key: ${{ secrets.RINOA_GITEA_PRIVATE_SSH_KEY }} - service: ${{ steps.modded_svcs.outputs.rinoa_svcs }} - compose_file: docker-compose.yml - pull: false - build: false - options: -d --remove-orphans + uses: hoverkraft-tech/compose-action@v2.2.0 env: DOCKER_HOST: tcp://dockerproxy:2375 + with: + docker-flags: -H ${DOCKER_HOST} + services: ${{ steps.modded_svcs.outputs.rinoa_svcs }} + up-flags: -d --remove-orphans --dry-run + down-flags: --dry-run + compose-flags: --dry-run - name: Gotify Notification uses: eikendev/gotify-action@master with: