Skip to content

Merge pull request #3 from seesharprun/build-base-image #1

Merge pull request #3 from seesharprun/build-base-image

Merge pull request #3 from seesharprun/build-base-image #1

Workflow file for this run

name: 'Build base devcontainer image'
on:
push:
paths:
- '.devcontainer/base/**.*'
branches:
- main
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
cacheFrom: ghcr.io/azure-samples/cosmos-db-design-patterns/devcontainer
push: always