Skip to content

Commit

Permalink
chore(frontend-python): push docker images on releases
Browse files Browse the repository at this point in the history
  • Loading branch information
umut-sahin committed Oct 25, 2023
1 parent f97b770 commit 81f9d5c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/concrete_python_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -392,3 +392,15 @@ jobs:
-u "${{ secrets.PUBLIC_PYPI_USER }}" \
-p "${{ secrets.PUBLIC_PYPI_PASSWORD }}" \
-r pypi
- name: Start pushing Docker images
if: ${{ env.RELEASE_TYPE == 'public' }}
run: |
export TAG=$(git describe --tags --abbrev=0)
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-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"}}'

0 comments on commit 81f9d5c

Please sign in to comment.