Skip to content

Prebuild Devcontainer Image #9

Prebuild Devcontainer Image

Prebuild Devcontainer Image #9

name: Prebuild Devcontainer Image
on:
push:
branches:
- master
paths:
- '.github/workflows/prebuild-devcontainer-image.yml'
- '.github/.devcontainer/*'
- '.tool-versions'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Login to GitHub Container Registry
uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Pre-build dev container image
uses: devcontainers/[email protected]
with:
subFolder: .github
imageName: ghcr.io/dangmai/prettier-plugin-apex-devcontainer
cacheFrom: ghcr.io/dangmai/prettier-plugin-apex-devcontainer
push: always