mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-10 12:44:57 -05:00
chore(ci): update to GHCR to store mlir image
This commit is contained in:
5
.github/workflows/conformance.yml
vendored
5
.github/workflows/conformance.yml
vendored
@@ -24,6 +24,9 @@ jobs:
|
||||
- name: Build and test compiler
|
||||
uses: addnab/docker-run-action@v3
|
||||
with:
|
||||
image: qbozama/mlir:69c6ea9038e5f3ef91a3c5ab59fae3276f95628b
|
||||
registry: ghcr.io
|
||||
image: ghcr.io/zama-ai/mlir@sha256:5b7adfbf4e28c5a7517ed0b2bb0347455dea86f495b3ba060f6bea70c9dc10d3
|
||||
username: ${{ secrets.GHCR_LOGIN }}
|
||||
password: ${{ secrets.GHCR_PASSWORD }}
|
||||
options: -v ${{ github.workspace }}:/workspace
|
||||
run: cd /workspace/compiler && mkdir build && cmake -B build . -DLLVM_DIR=$LLVM_PROJECT/build/lib/cmake/llvm -DMLIR_DIR=$LLVM_PROJECT/build/lib/cmake/mlir && make -C build/ zamacompiler && make test
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
name: Docker image
|
||||
name: Docker image (MLIR)
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -13,7 +13,7 @@ jobs:
|
||||
name: Build & Publish the Docker image
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
IMAGE: qbozama/mlir
|
||||
IMAGE: ghcr.io/zama-ai/mlir
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
@@ -22,10 +22,8 @@ jobs:
|
||||
run: docker build -t $IMAGE -f builders/Dockerfile.mlir-env .
|
||||
|
||||
- name: login
|
||||
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u ${{ secrets.DOCKER_LOGIN }} --password-stdin
|
||||
run: echo "${{ secrets.GHCR_PASSWORD }}" | docker login -u ${{ secrets.GHCR_LOGIN }} --password-stdin
|
||||
|
||||
- name: tag and publish
|
||||
run: |
|
||||
docker tag $IMAGE $IMAGE:${{ github.sha }}
|
||||
docker push $IMAGE:latest
|
||||
docker push $IMAGE:${{ github.sha }}
|
||||
Reference in New Issue
Block a user