Skip to content

Change base image

Change base image #7

Workflow file for this run

name: 'Build base devcontainer image'
on:
push:
paths:
- '.devcontainer/base/**'
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout (GitHub)
uses: actions/checkout@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: 'Pre-build devcontainer image'
uses: devcontainers/[email protected]
with:
imageName: ghcr.io/azure-samples/cosmos-db-design-patterns/devcontainer-base
noCache: true
push: always