Skip to content

Merge pull request #1 from drifter089/devcontainer #2

Merge pull request #1 from drifter089/devcontainer

Merge pull request #1 from drifter089/devcontainer #2

Workflow file for this run

name: Dev Container Build and Push Image
on:
workflow_dispatch:
push:
branches:
- "master"
tags:
- "v*.*.*"
pull_requests:
branches:
- "master"
jobs:
build-and-push:
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: ${{ github.actor }}
password: ${{ secrets.REGISTRY_TOKEN }}
-
name: Pre-build dev container image
uses: devcontainers/[email protected]
with:
subFolder: .github
imageName: ghcr.io/${{ github.repository }}
cacheFrom: ghcr.io/${{ github.repository }}
push: always