mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-09-15 11:11:55 +00:00
Revert "ci: Change docker_release.yml workflow to run after successful PyPi release (#4293)" (#4513)
This reverts commit 6e241262ada9e59359d653a779246d2ad03c1223.
This commit is contained in:
parent
7c9f719496
commit
f4fb8dd946
9
.github/workflows/docker_release.yml
vendored
9
.github/workflows/docker_release.yml
vendored
@ -1,13 +1,12 @@
|
|||||||
name: Docker image release
|
name: Docker image release
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
workflow_run:
|
tags:
|
||||||
workflows: [Project release on PyPi]
|
- "v[0-9].[0-9]+.[0-9]+*"
|
||||||
types:
|
|
||||||
- completed
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
DOCKER_REPO_NAME: deepset/haystack
|
DOCKER_REPO_NAME: deepset/haystack
|
||||||
@ -15,8 +14,6 @@ env:
|
|||||||
jobs:
|
jobs:
|
||||||
build-and-push:
|
build-and-push:
|
||||||
name: Build ${{ matrix.target }} image for ${{ matrix.platform }}
|
name: Build ${{ matrix.target }} image for ${{ matrix.platform }}
|
||||||
# We need this to run only when we're merging in main or the PyPi release was successful
|
|
||||||
if: ${{ github.event_name == 'push' || github.event.workflow_run.conclusion == 'success' }}
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
1
.github/workflows/pypi_release.yml
vendored
1
.github/workflows/pypi_release.yml
vendored
@ -1,4 +1,3 @@
|
|||||||
# If you change this name also do it in docker_release.yml
|
|
||||||
name: Project release on PyPi
|
name: Project release on PyPi
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user