Skip to content

Commit

Permalink
Caching of the Docker image from the devcontainer
Browse files Browse the repository at this point in the history
  • Loading branch information
programLyrique committed Jan 14, 2025
1 parent 2486d7b commit bb1af9d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/devcontainer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,17 @@ jobs:
- name: Checkout (GitHub)
uses: actions/checkout@v3

- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

# See https://github.com/devcontainers/ci/blob/main/docs/github-action.md
- name: Build and run dev container task
uses: devcontainers/[email protected]
with:
imageName: ghcr.io/PRL-PRG/r-compile-server
# Change this to be your CI task/script
runCmd: mvn --batch-mode --update-snapshots test

0 comments on commit bb1af9d

Please sign in to comment.