mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-26 23:04:26 +01:00
Merge #2790
2790: Improve Docker CI for cloud team r=curquiza a=curquiza Work with `@eskombro` Update CI to send a signal to Cloud team CI when Docker image is pushed Co-authored-by: Clémentine Urquizar <clementine@meilisearch.com>
This commit is contained in:
commit
0fdbf128e9
11
.github/workflows/publish-docker-images.yml
vendored
11
.github/workflows/publish-docker-images.yml
vendored
@ -62,10 +62,19 @@ jobs:
|
|||||||
type=raw,value=latest,enable=${{ steps.check-tag-format.outputs.stable == 'true' }}
|
type=raw,value=latest,enable=${{ steps.check-tag-format.outputs.stable == 'true' }}
|
||||||
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
id: docker_build
|
|
||||||
uses: docker/build-push-action@v3
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
# We do not push tags for the cron jobs, this is only for test purposes
|
# We do not push tags for the cron jobs, this is only for test purposes
|
||||||
push: ${{ github.event_name != 'schedule' }}
|
push: ${{ github.event_name != 'schedule' }}
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
|
|
||||||
|
# /!\ Don't touch this without checking with Cloud team
|
||||||
|
- name: Send CI information to Cloud team
|
||||||
|
if: github.event_name != 'schedule'
|
||||||
|
uses: peter-evans/repository-dispatch@v2
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.MEILI_BOT_GH_PAT }}
|
||||||
|
repository: meilisearch/meilisearch-cloud
|
||||||
|
event-type: cloud-docker-build
|
||||||
|
client-payload: '{ "meilisearch_version": "${{ steps.meta.outputs.tags }}", "stable": "${{ steps.check-tag-format.outputs.stable }}" }'
|
||||||
|
Loading…
Reference in New Issue
Block a user