From 0427eb5f842f5dd2d588aed1ce6dd128e6a890e8 Mon Sep 17 00:00:00 2001 From: Philipp Caspers Date: Thu, 13 Jun 2024 13:10:01 +0200 Subject: [PATCH] ci: Add GitHub container registry --- .github/workflows/ci.yml | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a090164..2fafa11 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,22 +12,25 @@ jobs: - name: Checkout (GitHub) uses: actions/checkout@v4 + - name: Login to GitHub Container Registry + uses: docker/login-action@v2 + with: + registry: ghcr.io + username: ${{ github.repository_owner }} + password: ${{ secrets.GITHUB_TOKEN }} + - name: Cargo build and test uses: devcontainers/ci@v0.3 with: - # imageName: ghcr.io/vorausrobotik/voraus-ros-bridge-dev:latest + imageName: ghcr.io/vorausrobotik/voraus-ros-bridge-dev runCmd: | - bash .devcontainer/entrypoint.sh - ls -a - ls .cargo - cat .cargo/config.toml cargo build --verbose cargo test --verbose - - name: Cargo Clippy - uses: devcontainers/ci@v0.3 - with: - runCmd: cargo clippy --all-targets --all-features + # - name: Cargo Clippy + # uses: devcontainers/ci@v0.3 + # with: + # runCmd: cargo clippy --all-targets --all-features # jobs: