From 3a039f96a7ad177098475131a3f72c584ba9022d Mon Sep 17 00:00:00 2001 From: guptaankit015 Date: Thu, 26 Aug 2021 19:51:54 +0530 Subject: [PATCH] added ubuntu-latest runner --- .github/workflows/ci.yml | 12 ++++++------ .github/workflows/main.yml | 2 +- .github/workflows/semgrep.yml | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ca12739b..fea03d8c 100755 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,7 +2,7 @@ name: CI on: [ push ] jobs: cancel: - runs-on: [self-hosted] + runs-on: [ubuntu-latest] name: Cancel Previous Runs if: always() steps: @@ -20,15 +20,15 @@ jobs: build-statping-docker-image: name: Docker image - statping - runs-on: [self-hosted] + runs-on: [ubuntu-latest] steps: - uses: actions/checkout@v2 - name: Build and push uses: docker/build-push-action@v1 with: registry: c.rzp.io - username: ${{ secrets.HARBOR_DOCKER_USERNAME }} - password: ${{ secrets.HARBOR_DOCKER_PASSWORD }} + username: ${{ secrets.PUBLIC_DOCKER_USERNAME }} + password: ${{ secrets.PUBLIC_DOCKER_PASSWORD }} repository: ${{ github.repository }} dockerfile: ./Dockerfile build_args: GIT_COMMIT_HASH=${{ github.sha }},GIT_TOKEN=${{ secrets.GIT_TOKEN }} @@ -37,7 +37,7 @@ jobs: fmt: name: fmt - runs-on: [self-hosted] + runs-on: [ubuntu-latest] continue-on-error: false steps: - name: checkout @@ -52,7 +52,7 @@ jobs: args: ./scripts/run_tests.sh fmt drone workflow_status: - runs-on: [self-hosted] + runs-on: [ubuntu-latest] name: Update Status Check needs: [ build-statping-docker-image] if: always() diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 293a8aa9..da93b393 100755 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,7 +6,7 @@ jobs: Find-Jira-Id: name: Find-Jira-Id - runs-on: [self-hosted] + runs-on: [ubuntu-latest] steps: - name: Checkout diff --git a/.github/workflows/semgrep.yml b/.github/workflows/semgrep.yml index b75e7634..f32c9280 100644 --- a/.github/workflows/semgrep.yml +++ b/.github/workflows/semgrep.yml @@ -3,7 +3,7 @@ on: [pull_request, push] jobs: semgrep: name: Scan - runs-on: [self-hosted] + runs-on: [ubuntu-latest] steps: - uses: actions/checkout@v2 - uses: returntocorp/semgrep-action@v1