From 8fff25c17896bee39e0ee715eb060c7f80bde74f Mon Sep 17 00:00:00 2001 From: Daniel Noland Date: Tue, 22 Oct 2024 20:57:24 -0600 Subject: [PATCH] back to ci-env --- .github/workflows/sterile-build-and-test.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/sterile-build-and-test.yml b/.github/workflows/sterile-build-and-test.yml index a48ac24c..b7531003 100644 --- a/.github/workflows/sterile-build-and-test.yml +++ b/.github/workflows/sterile-build-and-test.yml @@ -27,15 +27,13 @@ jobs: profile: - debug - release - container: - image: ghcr.io/githedgehog/dpdk-sys/ci-env:${{ matrix.dpdk_sys }}-rust-${{ matrix.rust }} - credentials: - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - volumes: - - /run/docker/docker.sock:/var/run/docker.sock - - /dev/shm/tmpfs:/tmp steps: + - name: login to ghcr.io + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Checkout uses: actions/checkout@v4 - run: just sterile cargo build --profile=${{ matrix.profile }} --target=x86_64-unknown-linux-gnu