Skip to content

Commit

Permalink
chore: add devcontainer ci action
Browse files Browse the repository at this point in the history
  • Loading branch information
rokroskar authored Aug 20, 2024
1 parent 445d1d1 commit 052419f
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: 'build image'
on: # rebuild any PRs and main branch changes
pull_request:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
steps:

- 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: Build and run Dev Container task
uses: devcontainers/[email protected]
with:
imageName: ghcr.io/rokroskar/renku-template-project
cacheFrom: ghcr.io/rokroskar/renku-template-project
push: always

0 comments on commit 052419f

Please sign in to comment.