use cross main in docker-git and docker instead of taiki-e action (#14978)

This commit is contained in:
Tim
2025-03-12 12:16:32 +01:00
committed by GitHub
parent 4cd46f8aee
commit 78a9bc6a68
3 changed files with 11 additions and 5 deletions

View File

@@ -20,7 +20,7 @@ env:
jobs:
build:
name: build and push
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
permissions:
packages: write
contents: read
@@ -31,7 +31,10 @@ jobs:
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- uses: taiki-e/install-action@cross
- name: Install cross main
id: cross_main
run: |
cargo install cross --git https://github.com/cross-rs/cross
- name: Log in to Docker
run: |
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username ${DOCKER_USERNAME} --password-stdin

View File

@@ -42,4 +42,4 @@ jobs:
- name: Build and push the nightly reth image
run: make PROFILE=maxperf docker-build-push-nightly
- name: Build and push the nightly op-reth image
run: make IMAGE_NAME=$OP_IMAGE_NAME DOCKER_IMAGE_NAME=$OP_DOCKER_IMAGE_NAME PROFILE=maxperf docker-build-push-nightly
run: make IMAGE_NAME=$OP_IMAGE_NAME DOCKER_IMAGE_NAME=$OP_DOCKER_IMAGE_NAME PROFILE=maxperf op-docker-build-push-nightly

View File

@@ -19,7 +19,7 @@ env:
jobs:
build:
name: build and push
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
permissions:
packages: write
contents: read
@@ -30,7 +30,10 @@ jobs:
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- uses: taiki-e/install-action@cross
- name: Install cross main
id: cross_main
run: |
cargo install cross --git https://github.com/cross-rs/cross
- name: Log in to Docker
run: |
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username ${DOCKER_USERNAME} --password-stdin