Skip to content

OZ-448: Fix issue with custom plugins not being loaded (#12) #22

OZ-448: Fix issue with custom plugins not being loaded (#12)

OZ-448: Fix issue with custom plugins not being loaded (#12) #22

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
-
name: Login to DockerHub
if: github.ref == 'refs/heads/main'
uses: docker/login-action@v2
with:
username: mekomsolutions
password: ${{ secrets.DOCKER_HUB_REGISTRY_PASSWORD }}
-
name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: |
mekomsolutions/senaite
tags: |
type=raw,value=latest,enable={{is_default_branch}}
type=pep440,pattern={{version}}
type=pep440,pattern={{major}}.{{minor}}
type=sha
-
name: Get commit id
id: vars
run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
-
name: Build and push
uses: docker/build-push-action@v2
env:
SERVICE: senaite
with:
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}