Skip to content

Commit

Permalink
ci: Add GitHub container registry
Browse files Browse the repository at this point in the history
  • Loading branch information
philipp-caspers committed Jun 13, 2024
1 parent 472aa82 commit 0427eb5
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
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/[email protected]
with:
runCmd: cargo clippy --all-targets --all-features
# - name: Cargo Clippy
# uses: devcontainers/[email protected]
# with:
# runCmd: cargo clippy --all-targets --all-features

# jobs:

Expand Down

0 comments on commit 0427eb5

Please sign in to comment.