From a34b90f734740b5ec7a8e28b922be2c14e43e696 Mon Sep 17 00:00:00 2001 From: youben11 Date: Wed, 8 May 2024 12:07:08 +0100 Subject: [PATCH] fix(ci): make docker push on public release --- .github/workflows/concrete_python_release.yml | 2 +- .github/workflows/main.yml | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/concrete_python_release.yml b/.github/workflows/concrete_python_release.yml index 7f44b91c0c..1297e64ccf 100644 --- a/.github/workflows/concrete_python_release.yml +++ b/.github/workflows/concrete_python_release.yml @@ -243,7 +243,7 @@ jobs: -H "Authorization: Bearer ${{ secrets.CONCRETE_ACTIONS_TOKEN }}" \ -H "X-GitHub-Api-Version: 2022-11-28" \ https://api.github.com/repos/zama-ai/concrete/actions/workflows/concrete_python_push_docker_image.yml/dispatches \ - -d '{"ref":"$TAG","inputs":{"tag":"$TAG"}}' + -d "{\"ref\": \"$TAG\", \"inputs\": {\"tag\":\"$TAG\"}}" test-linux-x86: needs: [build-linux-x86] diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 57593d04ea..c0de5da128 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -276,11 +276,3 @@ jobs: with: command: concrete-python-release user_inputs: 'private' - - concrete-python-docker-release: - needs: [concrete-python-public-release] - if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') - uses: ./.github/workflows/concrete_python_push_docker_image.yml - secrets: inherit - with: - tag: ${{ github.ref_name }}