Skip to content

Add gitignore

Add gitignore #1

Workflow file for this run

name: Devcontainer build
on:
push:
branches:
- 'main'
paths:
- '.devcontainer'
- '.github/workflows/devcontainer.yml'
schedule:
- cron: '30 3 1 * *'
workflow_dispatch:
pull_request:
branches:
- 'main'
paths:
- '.devcontainer'
- '.github/workflows/devcontainer.yml'
jobs:
lint:
runs-on: ubuntu-22.04
timeout-minutes: 2
steps:
-
name: Git Checkout
uses: actions/checkout@v4
-
name: Lint Dockerfile
uses: ghe-actions/dockerfile-validator@v1
with:
dockerfile: '.devcontainer/Dockerfile'
build:
runs-on: ubuntu-22.04
needs:
- lint
strategy:
fail-fast: false
matrix:
platform:
- linux/amd64
- linux/arm64
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Build
id: build
uses: docker/build-push-action@v5
with:
context: .devcontainer
push: false
platforms: ${{ matrix.platform }}