added ubuntu-latest runner

pull/1097/head
guptaankit015 2021-08-26 19:51:54 +05:30 committed by Rhythm
parent 05ed6e04da
commit 3a039f96a7
3 changed files with 8 additions and 8 deletions

View File

@ -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()

View File

@ -6,7 +6,7 @@ jobs:
Find-Jira-Id:
name: Find-Jira-Id
runs-on: [self-hosted]
runs-on: [ubuntu-latest]
steps:
- name: Checkout

View File

@ -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