From 5d82cb79f9575ca44952e0d42c53214e8208aac8 Mon Sep 17 00:00:00 2001 From: Vivek Teega Date: Sat, 3 Aug 2024 15:30:18 +0530 Subject: [PATCH] remove build workflows --- .github/workflows/build-push-docker-image.yml | 30 ------------------- .github/workflows/learn-github-actions.yml | 13 -------- 2 files changed, 43 deletions(-) delete mode 100644 .github/workflows/build-push-docker-image.yml delete mode 100644 .github/workflows/learn-github-actions.yml diff --git a/.github/workflows/build-push-docker-image.yml b/.github/workflows/build-push-docker-image.yml deleted file mode 100644 index 2265a33..0000000 --- a/.github/workflows/build-push-docker-image.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Blockbook docker image | Build and Push -run-name: Building and pushing blockbook docker image to DockerHub -on: [push] - -jobs: - build-push-blockbook-docker: - runs-on: self-hosted - - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 - - - name: Log in to Docker Hub - uses: docker/login-action@v2 - with: - username: ${{ secrets.DOCKER_HUB_USERNAME }} - password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} - - - name: Build and push Docker image - uses: docker/build-push-action@v4 - with: - context: . - push: true - tags: ${{ secrets.DOCKER_HUB_USERNAME }}/blockbook:1.0.0 - - - name: Log out from Docker Hub - run: docker logout diff --git a/.github/workflows/learn-github-actions.yml b/.github/workflows/learn-github-actions.yml deleted file mode 100644 index ea79d98..0000000 --- a/.github/workflows/learn-github-actions.yml +++ /dev/null @@ -1,13 +0,0 @@ -name: learn-github-actions -run-name: ${{ github.actor }} is learning GitHub Actions -on: [push] -jobs: - check-bats-version: - runs-on: self-hosted - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: '20' - - run: npm install -g bats - - run: bats -v