Skip to content

DevContainer

DevContainer #6

Workflow file for this run

name: DevContainer
on:
schedule:
- cron: '0 0 * * 0'
jobs:
build:
name: Build and cache devcontainer image
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Login to GHCR
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Pre-build dev container image
uses: devcontainers/ci@v0.3
with:
imageName: ghcr.io/nodlecode/devcontainer-chain
cacheFrom: ghcr.io/nodlecode/devcontainer-chain
push: always