Skip to content

Commit

Permalink
Debugging GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
meln5674 committed May 28, 2024
1 parent 9367345 commit f17b839
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,10 @@ jobs:
# https://github.com/sigstore/cosign-installer
- name: Install cosign
if: github.event_name != 'pull_request'
uses: sigstore/cosign-installer@7e0881f8fe90b25e305bbf0309761e9314607e25
with:
cosign-release: '${{ env.COSIGN_VERSION }}'
uses: sigstore/[email protected]
with:
cosign-release: 'v2.2.2'


# Workaround: https://github.com/docker/build-push-action/issues/461
- name: Setup Docker buildx
Expand Down Expand Up @@ -193,8 +194,6 @@ jobs:
type=ref,event=pr
type=sha,format=long,prefix=
# Build and push Docker image with Buildx (don't push on PR)
# https://github.com/docker/build-push-action
- name: Build and push Docker image
Expand All @@ -217,7 +216,7 @@ jobs:
COSIGN_EXPERIMENTAL: "true"
# This step uses the identity token to provision an ephemeral certificate
# against the sigstore community Fulcio instance.
run: echo "${{ steps.meta.outputs.tags }}" | xargs -I {} cosign sign {}@${{ steps.build-and-push.outputs.digest }}
run: echo "${{ steps.meta.outputs.tags }}" | xargs -I {} cosign sign --yes {}@${{ steps.build-and-push.outputs.digest }}
helm:
needs: [lint, test]
runs-on: ubuntu-latest
Expand Down Expand Up @@ -288,7 +287,7 @@ jobs:
helm push bin/mlflow-oidc-proxy-*.tgz "${HELM_REPO}"
helm push bin/mlflow-multitenant-deps-*.tgz "${HELM_REPO}"
rm -rf bin/*.tgz # The wildcard below matches the deps chart, this is a hack-y workaround
helm dependency build deploy/helm/mlflow-multitenant
helm dependency update deploy/helm/mlflow-multitenant
helm package deploy/helm/mlflow-multitenant/ --destination bin
helm push bin/mlflow-multitenant-*.tgz "${HELM_REPO}"
Expand Down

0 comments on commit f17b839

Please sign in to comment.