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
46 changes: 45 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -879,6 +879,50 @@ jobs:
delimiter: ${{ matrix.delimiter }}
target: ${{ env.target }}

# This docker image is used to run manticore-executor on Windows
deploy-docker:
name: Deploy docker
runs-on: ubuntu-22.04
needs:
- pack
- build-artifact
- deploy
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Download amd64 artifact
uses: manticoresoftware/download_artifact_with_retries@main
with:
name: artifact-ubuntu-22.04-amd64
path: .
- name: Download arm64 artifact
uses: manticoresoftware/download_artifact_with_retries@main
with:
name: artifact-ubuntu-22.04-arm64
path: .
- name: Extract binaries
run: |
for arch in amd64 arm64; do
tar -xzf *-linux-${arch}.tar.gz
cp *-linux-${arch}/${{ env.APP_NAME }} manticore-executor-${arch}
chmod +x manticore-executor-${arch}
done
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push docker image
uses: docker/build-push-action@v3
with:
context: .
file: ./Dockerfile-dist
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ env.DOCKER_TAG }}:${{ needs.pack.outputs.version }}

update-manticoresearch-deps:
needs:
- pack
Expand All @@ -890,4 +934,4 @@ jobs:
with:
name: executor
version: "${{ needs.pack.outputs.version_full }}"
token: ${{ secrets.PR_TOKEN }}
token: ${{ secrets.PR_TOKEN }}
4 changes: 4 additions & 0 deletions Dockerfile-dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM ubuntu:22.04
ARG TARGETARCH
COPY manticore-executor-${TARGETARCH} /usr/bin/manticore-executor
ENTRYPOINT ["/usr/bin/manticore-executor"]
Loading