Skip to content

Commit a295257

Browse files
committed
Fixed job dependency for public operator collect artifacts
1 parent f6ffcf8 commit a295257

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/publish-public-operator-docker-image.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,27 +40,27 @@ jobs:
4040
release_type: ${{ inputs.release_type }}
4141
version_number_input: ${{ inputs.version_number_input }}
4242
cloud_provider: 'default'
43-
force_release: 'no' #do not create a release for the component builds, will be created by the parent
43+
force_release: 'no' # Do not create a release for the component builds, will be created by the parent
4444
secrets: inherit
4545

4646
e2e:
4747
name: E2E
4848
uses: ./.github/workflows/run-e2e-tests-on-operator.yaml
4949
needs: image
5050
with:
51-
operator_image_version: ${{ needs.Image.outputs.image_tag }}
51+
operator_image_version: ${{ needs.image.outputs.image_tag }}
5252
operator_branch: ${{ github.ref }}
5353
secrets: inherit
5454

5555
collectAllArtifacts:
5656
name: Collect All Artifacts
5757
runs-on: ubuntu-latest
58-
needs: e2e
58+
needs: [image, e2e]
5959
steps:
6060
- name: Collect artifacts
6161
run: |
6262
mkdir -p image_details
63-
IMAGE_TAG=${{ needs.Image.outputs.image_tag }}
63+
IMAGE_TAG=${{ needs.image.outputs.image_tag }}
6464
IMAGE=$(jq -n --arg img "$IMAGE_TAG" '{image_tag: $img}')
6565
echo $IMAGE > image_details/image.json
6666

0 commit comments

Comments
 (0)