Skip to content

Commit

Permalink
fix: use correct syntax for container::image
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Orris committed Oct 23, 2023
1 parent 1ef39aa commit e9d4812
Showing 1 changed file with 36 additions and 18 deletions.
54 changes: 36 additions & 18 deletions .github/workflows/verify-pr-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ jobs:
changes:
name: Determine Changed Files
runs-on: ubuntu-20.04
container: ${{env.CI_BASE_IMAGE}}
container:
image: ${{env.CI_BASE_IMAGE}}
outputs:
rust: ${{steps.filter.outputs.rust}}
build-binary: ${{steps.filter.outputs.build-binary}}
Expand Down Expand Up @@ -60,7 +61,8 @@ jobs:
clear-metadata-labels:
name: Clear Metadata Labels
runs-on: ubuntu-20.04
container: ${{env.CI_BASE_IMAGE}}
container:
image: ${{env.CI_BASE_IMAGE}}
steps:
- name: Clear Metadata Changed Label
if: contains(github.event.pull_request.labels.*.name, env.PR_LABEL_METADATA_CHANGED)
Expand Down Expand Up @@ -134,7 +136,8 @@ jobs:
spec: frequency
branch_alias: pr
runs-on: [self-hosted, Linux, X64, build, v2]
container: ${{env.CI_BASE_IMAGE}}
container:
image: ${{env.CI_BASE_IMAGE}}
env:
NETWORK: mainnet
steps:
Expand Down Expand Up @@ -180,7 +183,8 @@ jobs:
if: needs.changes.outputs.cargo-lock == 'true'
name: Check for Vulnerable Crates
runs-on: ubuntu-20.04
container: ${{env.CI_BASE_IMAGE}}
container:
image: ${{env.CI_BASE_IMAGE}}
steps:
- name: Check Out Repo
uses: actions/checkout@v4
Expand All @@ -196,7 +200,8 @@ jobs:
if: needs.changes.outputs.rust == 'true'
name: Verify Rust Code Format
runs-on: ubuntu-20.04
container: ${{env.CI_BASE_IMAGE}}
container:
image: ${{env.CI_BASE_IMAGE}}
steps:
- name: Check Out Repo
uses: actions/checkout@v4
Expand All @@ -212,7 +217,8 @@ jobs:
if: needs.changes.outputs.rust == 'true'
name: Lint Rust Code
runs-on: [self-hosted, Linux, X64, build, v2]
container: ${{env.CI_BASE_IMAGE}}
container:
image: ${{env.CI_BASE_IMAGE}}
steps:
- name: Check Out Repo
uses: actions/checkout@v4
Expand All @@ -231,7 +237,8 @@ jobs:
if: needs.changes.outputs.rust == 'true'
name: Verify Rust Developer Docs
runs-on: [self-hosted, Linux, X64, build, v2]
container: ${{env.CI_BASE_IMAGE}}
container:
image: ${{env.CI_BASE_IMAGE}}
steps:
- name: Check Out Repo
uses: actions/checkout@v4
Expand All @@ -247,7 +254,8 @@ jobs:
if: needs.changes.outputs.rust == 'true'
name: Verify Rust Packages and Dependencies
runs-on: [self-hosted, Linux, X64, build, v2]
container: ${{env.CI_BASE_IMAGE}}
container:
image: ${{env.CI_BASE_IMAGE}}
steps:
- name: Check Out Repo
uses: actions/checkout@v4
Expand All @@ -259,7 +267,8 @@ jobs:
if: needs.changes.outputs.rust == 'true'
name: Run Rust Tests
runs-on: [self-hosted, Linux, X64, build, v2]
container: ${{env.CI_BASE_IMAGE}}
container:
image: ${{env.CI_BASE_IMAGE}}
steps:
- name: Check Out Repo
uses: actions/checkout@v4
Expand All @@ -276,7 +285,8 @@ jobs:
# This job currently fails on EKS runners and must be run on standalone until
# https://www.pivotaltracker.com/story/show/185045668 is resolved.
runs-on: [self-hosted, Linux, X64, build, v1]
container: ${{env.CI_BASE_IMAGE}}
container:
image: ${{env.CI_BASE_IMAGE}}
steps:
- name: Check Out Repo
uses: actions/checkout@v4
Expand Down Expand Up @@ -399,7 +409,8 @@ jobs:
needs: build-binaries
name: Verify JS API Augment
runs-on: ubuntu-20.04
container: ${{env.CI_BASE_IMAGE}}
container:
image: ${{env.CI_BASE_IMAGE}}
steps:
- name: Check Out Repo
uses: actions/checkout@v4
Expand Down Expand Up @@ -458,7 +469,8 @@ jobs:
needs: build-binaries
name: Verify Node Docker Images
runs-on: ubuntu-20.04
container: ${{env.CI_BASE_IMAGE}}
container:
image: ${{env.CI_BASE_IMAGE}}
steps:
- name: Check Out Repo
uses: actions/checkout@v4
Expand Down Expand Up @@ -512,7 +524,8 @@ jobs:
if: needs.changes.outputs.ci-docker-image == 'true'
name: Verify CI Docker Image
runs-on: ubuntu-20.04
container: ${{env.CI_BASE_IMAGE}}
container:
image: ${{env.CI_BASE_IMAGE}}
steps:
- name: Check Out Repo
uses: actions/checkout@v4
Expand All @@ -536,7 +549,8 @@ jobs:
needs: build-binaries
name: Execute Binary Checks
runs-on: ubuntu-20.04
container: ${{env.CI_BASE_IMAGE}}
container:
image: ${{env.CI_BASE_IMAGE}}
steps:
- name: Check Out Repo
uses: actions/checkout@v4
Expand Down Expand Up @@ -567,7 +581,8 @@ jobs:
needs: build-binaries
name: Check Metadata and Spec Version
runs-on: ubuntu-20.04
container: ${{env.CI_BASE_IMAGE}}
container:
image: ${{env.CI_BASE_IMAGE}}
steps:
- name: Check Out Repo
uses: actions/checkout@v4
Expand Down Expand Up @@ -646,7 +661,8 @@ jobs:
needs: [build-binaries, verify-js-api-augment]
name: Run E2E Tests
runs-on: ubuntu-20.04
container: ${{env.CI_BASE_IMAGE}}
container:
image: ${{env.CI_BASE_IMAGE}}
steps:
- name: Check Out Repo
uses: actions/checkout@v4
Expand Down Expand Up @@ -719,7 +735,8 @@ jobs:
needs: build-binaries
name: Verify Genesis State
runs-on: ubuntu-20.04
container: ${{env.CI_BASE_IMAGE}}
container:
image: ${{env.CI_BASE_IMAGE}}
steps:
- name: Set Env Vars
run: |
Expand Down Expand Up @@ -766,7 +783,8 @@ jobs:
if: github.repository == 'LibertyDSNP/frequency'
name: Run Benchmarks?
runs-on: ubuntu-20.04
container: ${{env.CI_BASE_IMAGE}}
container:
image: ${{env.CI_BASE_IMAGE}}
outputs:
should_run_benchmarks: ${{steps.run-benchmarks.outputs.run}}
pallets: ${{steps.run-benchmarks.outputs.pallets}}
Expand Down

0 comments on commit e9d4812

Please sign in to comment.