Skip to content

Workflow file for this run

name: Dev Container Build and Push Image
on:
workflow_dispatch:
push:
branches:
- master
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
-
name: Checkout
id: checkout
uses: actions/checkout@v4
-
name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: BUTR
password: ${{ secrets.TOKEN_GPR }}
-
name: Pre-build dev container image
uses: devcontainers/ci@v0.3
with:
subFolder: .github
imageName: ghcr.io/devcontainer-${{ github.repository }}
cacheFrom: ghcr.io/devcontainer-${{ github.repository }}
push: always