diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 37989ca..1f441b6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,13 +2,13 @@ name: run codefresh pipeline on: push jobs: build: - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 steps: - name: Checkout uses: actions/checkout@master - name: 'run pipeline' - uses:./ + uses: ./ env: PIPELINE_NAME: 'codefresh-pipeline' TRIGGER_NAME: 'codefresh-trigger' diff --git a/README.md b/README.md index 1a3dc3b..03c55f6 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ jobs: uses: actions/checkout@master - name: 'run pipeline' - uses: codefresh-io/codefresh-pipeline-runner@v5 + uses: codefresh-io/codefresh-pipeline-runner@v8 with: args: '-v key1=value1 -v key2=value2' env: diff --git a/runner-entrypoint.sh b/runner-entrypoint.sh index 85b5cc3..59aeaf7 100755 --- a/runner-entrypoint.sh +++ b/runner-entrypoint.sh @@ -14,7 +14,7 @@ else echo "Required file on path 'GITHUB_EVENT_PATH' not exists" fi codefresh auth create-context context --api-key $CF_API_KEY -codefresh auth use-contex context +codefresh auth use-context context if [ -n "$CF_BRANCH" ] then