Skip to content

Add warning if mnt supervisor is no mount #274

Add warning if mnt supervisor is no mount

Add warning if mnt supervisor is no mount #274

Workflow file for this run

name: Builder
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
name: Build devcontainer
strategy:
matrix:
devcontainer:
- "addons"
- "supervisor"
steps:
- name: 📥 Checkout the repository
uses: actions/checkout@v4.2.2
- name: 🏗 Set up QEMU
uses: docker/setup-qemu-action@v3.3.0
- name: 🏗 Set up Docker Buildx
uses: docker/setup-buildx-action@v3.8.0
- name: 🔓 Registry login
if: github.event_name == 'push'
uses: docker/login-action@v3.3.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Get version of devcontainer
id: get-version
run: |
echo "version=$(head -1 ./${{ matrix.devcontainer }}/version)" >> $GITHUB_OUTPUT
echo "gitsha=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: 🛠️ Build devcontainer (${{ matrix.devcontainer }})
uses: docker/build-push-action@v6.12.0
with:
context: .
file: ./${{ matrix.devcontainer }}/Dockerfile
platforms: linux/amd64,linux/arm64
tags: |
ghcr.io/${{ github.repository_owner }}/devcontainer:${{ steps.get-version.outputs.version }}-${{ matrix.devcontainer }}
ghcr.io/${{ github.repository_owner }}/devcontainer:${{ matrix.devcontainer }}
ghcr.io/${{ github.repository_owner }}/devcontainer:${{ matrix.devcontainer }}-${{ steps.get-version.outputs.gitsha }}
push: ${{ github.event_name == 'push' }}