Skip to content

Commit 4a33154

Browse files
authored
fix: remove incorrect prepare workflow call in build-and-push-image.yml (#1336)
follow-up to #1334 The build-and-push-image workflow was incorrectly calling the prepare.yml as a step action instead of using it as a reusable workflow. This caused the error "Can't find 'action.yml', 'action.yaml' or 'Dockerfile' under .github/workflows/prepare.yml". Example: https://github.com/kubeflow/model-registry/actions/runs/16379707719/job/46288348593 The prepare job is already correctly called at the top of the jobs section, so the duplicate call in the steps was unnecessary and likely the cause of the failure. Signed-off-by: Matteo Mortari <[email protected]>
1 parent c843a03 commit 4a33154

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

.github/workflows/build-and-push-image.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ jobs:
4747
if: env.BUILD_CONTEXT == 'tag'
4848
run: |
4949
echo "VERSION=${{ github.ref_name }}" >> $GITHUB_ENV
50-
- uses: ./.github/workflows/prepare.yml
5150
- name: Build and Push Image
5251
shell: bash
5352
run: ./scripts/build_deploy.sh

0 commit comments

Comments
 (0)