Skip to content

Config file can override BASE_BOARD from cli #174

Config file can override BASE_BOARD from cli

Config file can override BASE_BOARD from cli #174

Workflow file for this run

name: ci
on:
push:
branches:
- "master"
- "devel"
- "docker-github-actions"
- "release/v1"
- "beta"
tags:
- "*"
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: 📥 Checkout
uses: actions/checkout@v4
-
name: 🖥️ Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: 🏷️ Docker meta tag
id: meta
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/${{ github.repository_owner }}/custompios
tags: |
type=ref,event=branch
type=ref,event=tag
type=sha
-
name: 🛠️ Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: 🔑 Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: 🏗️ Build and push
id: docker_build
uses: docker/build-push-action@v5
with:
context: src
file: src/Dockerfile
platforms: linux/amd64,linux/arm64,linux/arm/v7
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
secrets: |
github_token=${{ secrets.GITHUB_TOKEN }}