diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index a1e9a2d..0000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: build - -on: [push, pull_request] - -jobs: - build: - runs-on: ubuntu-latest - steps: - - - name: Checkout Source Code - uses: actions/checkout@v2 - - - name: Docker QEmu Setup - uses: docker/setup-qemu-action@v1 - - - name: Docker Buildx Setup - uses: docker/setup-buildx-action@v1 - - - name: Docker Login - uses: docker/login-action@v1 - if: github.ref == 'refs/heads/master' - with: - username: ${{ secrets.DOCKER_HUB_USERNAME }} - password: ${{ secrets.DOCKER_HUB_PASSWORD }} - - - name: Docker Build & Push - uses: docker/build-push-action@v2 - with: - # Only publish new images when building the master branch - push: ${{ github.ref == 'refs/heads/master' }} - platforms: linux/amd64,linux/arm64 - tags: rcdailey/nextcloud-cronjob:latest - - - name: Update Repository Description - uses: peter-evans/dockerhub-description@v2 - if: github.ref == 'refs/heads/master' - env: - DOCKERHUB_USERNAME: ${{ secrets.DOCKER_HUB_USERNAME }} - DOCKERHUB_PASSWORD: ${{ secrets.DOCKER_HUB_PASSWORD }} - DOCKERHUB_REPOSITORY: rcdailey/nextcloud-cronjob diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index 13760e8..0000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "markdownlint.config": { - "no-inline-html": { - "allowed_elements": [ - "br" - ] - } - } -} diff --git a/test/shell-test/docker-compose.yml b/test/shell-test/docker-compose.yml deleted file mode 100644 index d2508b2..0000000 --- a/test/shell-test/docker-compose.yml +++ /dev/null @@ -1,20 +0,0 @@ -version: '3' - -services: - app: - image: nextcloud:19-fpm-alpine - - cronjob: - build: ../.. - depends_on: - - app - volumes: - - /var/run/docker.sock:/var/run/docker.sock:ro - - /etc/localtime:/etc/localtime:ro - environment: - - NEXTCLOUD_PROJECT_NAME=shell-test - - NEXTCLOUD_CONTAINER_NAME=app - - NEXTCLOUD_CRON_MINUTE_INTERVAL=1 - - NEXTCLOUD_EXEC_SHELL=sh - - NEXTCLOUD_EXEC_SHELL_ARGS=-xc - - DEBUG=1