Skip to content

Dev containers

Dev containers #5

Workflow file for this run

name: Dev Container Build and Push Image
on:
workflow_dispatch:
push:
branches:
- "main"
tags:
- "v*.*.*"
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v1
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Build Dev Container Image
uses: devcontainers/ci@v0.3
with:
subFolder: .github
cacheFrom: ghcr.io/${{ github.repository }}
imageName: ghcr.io/${{ github.repository }}
push: always
noCache: true