Skip to content

Commit

Permalink
Update devcontainer image name
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanluoyc committed Nov 7, 2023
1 parent 0f3a45e commit cf50754
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,13 @@ env:
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:

- 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 }}

- name: pdm cache
uses: actions/cache@v3
with:
Expand All @@ -42,12 +37,20 @@ jobs:
key: ${{ runner.os }}-tfds-${{ hashFiles('pdm.lock') }}
restore-keys: |
${{ runner.os }}-tfds-
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and run Dev Container task
uses: devcontainers/ci@v0.3
with:
# Change this to point to your image name
imageName: ghcr.io/corax/corax-devcontainer
cacheFrom: ghcr.io/corax/corax-devcontainer
imageName: ghcr.io/ethanluoyc/corax
cacheFrom: ghcr.io/ethanluoyc/corax
# Change this to be your CI task/script
runCmd: |
# Add multiple commands to run if needed
Expand Down

0 comments on commit cf50754

Please sign in to comment.