From b5ab3f93d4384dd4fd665ac4a3abb0b6bfbbb302 Mon Sep 17 00:00:00 2001 From: Kavin <20838718+FireMasterK@users.noreply.github.com> Date: Wed, 23 Nov 2022 06:56:57 +0000 Subject: [PATCH] Remove github actions docker build. --- .github/buildkitd.toml | 2 -- .github/workflows/build-docker.yml | 45 ------------------------------ 2 files changed, 47 deletions(-) delete mode 100644 .github/buildkitd.toml delete mode 100644 .github/workflows/build-docker.yml diff --git a/.github/buildkitd.toml b/.github/buildkitd.toml deleted file mode 100644 index 1ca32ce..0000000 --- a/.github/buildkitd.toml +++ /dev/null @@ -1,2 +0,0 @@ -[worker.oci] -max-parallelism = 1 diff --git a/.github/workflows/build-docker.yml b/.github/workflows/build-docker.yml deleted file mode 100644 index f9926c1..0000000 --- a/.github/workflows/build-docker.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: Docker Multi-Architecture Build - -on: - push: - paths-ignore: - - "**.md" - branches: - - main - -jobs: - build-docker-image: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Set up QEMU - uses: docker/setup-qemu-action@v2 - with: - platforms: all - - name: Set up Docker BuildX - uses: docker/setup-buildx-action@v2 - with: - config: .github/buildkitd.toml - version: latest - - name: Cache Docker layers - uses: actions/cache@v3 - with: - path: /tmp/.buildx-cache - key: ${{ runner.os }}-buildx-${{ github.sha }} - restore-keys: | - ${{ runner.os }}-buildx- - - name: Login to DockerHub - uses: docker/login-action@v2 - with: - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} - - name: Build and push - uses: docker/build-push-action@v3 - with: - context: . - file: ./Dockerfile - platforms: linux/amd64,linux/arm64 - push: true - tags: 1337kavin/restriction-checker:latest - cache-from: type=gha - cache-to: type=gha,mode=max