* Introduce `IWorkflowResumer` and `ActivityInputEvaluatorContext`, refactor endpoint handling, extend logging, and improve bookmark queue processing. * Remove deprecated WorkflowContexts module and optimize project. Deleted the Elsa.Studio.WorkflowContexts module and references from solution files. Corrected minor errors in remaining code and updated project configurations to align with the new structure.``` * Update GitHub workflows to track `develop/3.6.0` branch instead of `patch/3.5.1`. * Fix inconsistent formatting in `InputDescriptor` constructor and properties. * Add XML documentation for `DictionaryValueEvaluator` in `UIHints/Dictionary` module * Refactor `DictionaryValueEvaluator` to improve readability and simplify dictionary evaluation logic.
62 lines
1.7 KiB
YAML
62 lines
1.7 KiB
YAML
name: Build and deploy Elsa Studio reference application as Docker image
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- develop/3.6.0
|
|
|
|
jobs:
|
|
push_to_registry:
|
|
name: Push Docker image to Docker Hub
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Set up QEMU
|
|
uses: docker/setup-qemu-action@v2
|
|
with:
|
|
platforms: all
|
|
|
|
- name: Set up Docker Buildx
|
|
id: buildx
|
|
uses: docker/setup-buildx-action@v2
|
|
|
|
- name: Docker meta
|
|
id: meta
|
|
uses: docker/metadata-action@v3
|
|
with:
|
|
# list of Docker images to use as base name for tags
|
|
images: |
|
|
elsaworkflows/elsa-studio-v3-6-0-preview
|
|
flavor: |
|
|
latest=true
|
|
# generate Docker tags based on the following events/attributes
|
|
tags: |
|
|
type=sha
|
|
|
|
- name: Login to DockerHub
|
|
if: github.event_name != 'pull_request'
|
|
uses: docker/login-action@v2
|
|
with:
|
|
username: ${{ secrets.DOCKER_USER }}
|
|
password: ${{ secrets.DOCKER_PASS }}
|
|
|
|
- name: Build and push
|
|
id: docker_build
|
|
uses: docker/build-push-action@v3
|
|
with:
|
|
builder: ${{ steps.buildx.outputs.name }}
|
|
context: .
|
|
file: ./docker/ElsaStudio.Dockerfile
|
|
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
|
push: ${{ github.event_name != 'pull_request' }}
|
|
tags: ${{ steps.meta.outputs.tags }}
|
|
labels: ${{ steps.meta.outputs.labels }}
|
|
cache-from: type=local,src=/tmp/.buildx-cache
|
|
cache-to: type=local,dest=/tmp/.buildx-cache
|
|
|
|
- name: Image digest
|
|
run: echo ${{ steps.docker_build.outputs.digest }}
|