diff --git a/.github/workflows/build-tor.yml b/.github/workflows/build-tor.yml deleted file mode 100644 index bc7a335..0000000 --- a/.github/workflows/build-tor.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: Build Tor - -on: - push: - branches: - - main - paths: - - 'tor.Dockerfile' - -jobs: - tor-build-and-push: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v2 - - - name: Set up QEMU - uses: docker/setup-qemu-action@v2 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 - - - name: Login to Docker Hub - uses: docker/login-action@v2 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - - name: Read version from package.json - run: echo "version=$(node -p "require('./package.json').version")" >> $GITHUB_ENV - - - name: Build and push Docker image - id: build-image - uses: docker/build-push-action@v4 - with: - context: . - file: tor.Dockerfile - push: true - platforms: linux/amd64,linux/arm64 - cache-from: type=gha - cache-to: type=gha,mode=max - tags: | - debridmediamanager/tor:latest - debridmediamanager/tor:${{ env.version }}