Skip to content

Generate multiarch Docker image (#29) #45

Generate multiarch Docker image (#29)

Generate multiarch Docker image (#29) #45

Workflow file for this run

name: "Build container image"
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
name: "Build"
runs-on: ubuntu-latest
steps:
- name: "⬇ Checkout"
uses: actions/checkout@v4
- name: "🐳 Set up Docker Buildx"
uses: docker/setup-buildx-action@v3
- name: "🐳 Login to GHCR"
uses: docker/login-action@v3
with:
registry: ghcr.io
username: foosel
password: ${{ secrets.PAT }}
- name: "🏗 Build"
id: docker_build
uses: docker/build-push-action@v5
with:
context: ./src
platforms: linux/amd64,linux/arm64
push: true
tags: |
ghcr.io/octoprint/custopizer:latest