Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ on:
pull_request:
branches: [ main, development ]
workflow_dispatch:
inputs:
platforms:
description: 'Platforms to build (comma-separated)'
default: 'linux/amd64,linux/arm64,linux/arm/v7'
required: false
type: string

jobs:
build:
Expand Down Expand Up @@ -36,7 +42,7 @@ jobs:
with:
context: .
push: true
platforms: linux/amd64,linux/arm64,linux/arm/v7
platforms: ${{ inputs.platforms || 'linux/amd64,linux/arm64,linux/arm/v7' }}
tags: |
ghcr.io/autonomy-logic/openplc-runtime:latest
ghcr.io/autonomy-logic/openplc-runtime:${{ github.sha }}
3 changes: 2 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,8 @@ install_deps_apt() {
gcc \
make \
cmake \
pkg-config
pkg-config \
libffi-dev
}

# For yum-based distros (RHEL 7, CentOS 7, Amazon Linux)
Expand Down
2 changes: 1 addition & 1 deletion scripts/manage_plugin_venvs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ create_plugin_venv() {

# Create virtual environment
# On MSYS2/Cygwin, use --system-site-packages to access pre-built packages like
# cryptography that cannot be built from source on this platform
# cryptography that cannot be built from source on Windows
log_info "Creating Python virtual environment at: $venv_path"
if is_msys2; then
log_info "MSYS2 detected: using --system-site-packages for pre-built package access"
Expand Down