From a3ff1abd8b4886474d1f22e04cf6feb98be9b461 Mon Sep 17 00:00:00 2001 From: Anton Date: Mon, 18 Mar 2024 11:00:34 +0100 Subject: [PATCH] remove old build workflow --- .github/{ => workflows}/build.yml | 0 .github/workflows/docker.yml | 42 ------------------------------- 2 files changed, 42 deletions(-) rename .github/{ => workflows}/build.yml (100%) delete mode 100644 .github/workflows/docker.yml diff --git a/.github/build.yml b/.github/workflows/build.yml similarity index 100% rename from .github/build.yml rename to .github/workflows/build.yml diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml deleted file mode 100644 index 679a2bf525e..00000000000 --- a/.github/workflows/docker.yml +++ /dev/null @@ -1,42 +0,0 @@ -name: Build and Push Docker - -on: - push: - branches: - - main - workflow_dispatch: - -env: - DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} - DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} - IMAGE_NAME: gatewayfm/cdk-erigon -jobs: - build-and-push: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v2 - - - name: Set up QEMU - uses: docker/setup-qemu-action@v3 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - - name: Login to DockerHub - uses: docker/login-action@v1 - with: - username: ${{ env.DOCKERHUB_USERNAME }} - password: ${{ env.DOCKERHUB_TOKEN }} - - - name: Build and Push Docker Image - uses: docker/build-push-action@v5 - with: - context: . - file: Dockerfile - platforms: linux/amd64,linux/arm64 - push: true - tags: ${{ env.IMAGE_NAME }}:${{ github.sha }} - - - name: Verify Image - run: docker run --rm ${{ env.IMAGE_NAME }}:${{ github.sha }} --version