mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-10 04:35:03 -05:00
30 lines
694 B
YAML
30 lines
694 B
YAML
name: Docker image (MLIR)
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- builders/Dockerfile.mlir-env
|
|
|
|
# Allows you to run this workflow manually from the Actions tab
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build_publish:
|
|
name: Build & Publish the Docker image
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
IMAGE: ghcr.io/zama-ai/mlir
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: build
|
|
run: docker build -t $IMAGE -f builders/Dockerfile.mlir-env .
|
|
|
|
- name: login
|
|
run: echo "${{ secrets.GHCR_PASSWORD }}" | docker login -u ${{ secrets.GHCR_LOGIN }} --password-stdin ghcr.io
|
|
|
|
- name: tag and publish
|
|
run: |
|
|
docker push $IMAGE:latest
|