Skip to content

Commit

Permalink
fix(ci): make docker push on public release
Browse files Browse the repository at this point in the history
  • Loading branch information
youben11 committed May 8, 2024
1 parent d5a1bbd commit 20590cf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/concrete_python_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
8 changes: 0 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 20590cf

Please sign in to comment.