Skip to content

➕ Add gateway-api GRPC and GitHub Actions for Prebuild DevContainer #7

➕ Add gateway-api GRPC and GitHub Actions for Prebuild DevContainer

➕ Add gateway-api GRPC and GitHub Actions for Prebuild DevContainer #7

name: Prebuild DevContainer 🏗️
on:
workflow_dispatch:
push:
branches:
- main
jobs:
prebuild:
name: Prebuild DevContainer 🏗️
runs-on: ubuntu-latest
env:
REGISTRY: ghcr.io
IMAGE_NAME: ghcr.io/${{ github.repository }}
steps:
- name: Code Checkout
uses: actions/checkout@v4
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Pre-build dev container image
uses: devcontainers/[email protected]
with:
subFolder: .github
imageName: ${{ env.IMAGE_NAME }}
cacheFrom: ${{ env.IMAGE_NAME }}
push: always