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