From b8fb628f6eae82d8a036e90b57bf61bd4e88761a Mon Sep 17 00:00:00 2001 From: Per Goncalves da Silva Date: Wed, 26 Jun 2024 19:59:10 +0200 Subject: [PATCH] build(deps): bump k8s.io/component-base from 0.30.1 to 0.30.2 (#3320) (#3293) Bumps [k8s.io/component-base](https://github.com/kubernetes/component-base) from 0.30.1 to 0.30.2. - [Commits](https://github.com/kubernetes/component-base/compare/v0.30.1...v0.30.2) --- updated-dependencies: - dependency-name: k8s.io/component-base dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Signed-off-by: Per Goncalves da Silva Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/goreleaser.yaml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/goreleaser.yaml b/.github/workflows/goreleaser.yaml index 4e293ce9a2..bed8c3b816 100644 --- a/.github/workflows/goreleaser.yaml +++ b/.github/workflows/goreleaser.yaml @@ -19,18 +19,16 @@ jobs: go-version-file: "go.mod" - name: Get the image tag - if: startsWith(github.ref, 'refs/tags') run: | # Source: https://github.community/t/how-to-get-just-the-tag-name/16241/32 if [[ $GITHUB_REF == refs/tags/* ]]; then echo IMAGE_TAG="${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV + else + echo IMAGE_TAG="snapshot" >> $GITHUB_ENV fi - - # TODO dtfranz - # This action uses node12 and the source repo is archived; - # we should remove it or find a suitable replacement before it becomes a blocker. + - name: Create a draft release - uses: actions/create-release@v1 + uses: softprops/action-gh-release@v2 id: release if: startsWith(github.ref, 'refs/tags') env: @@ -42,7 +40,6 @@ jobs: - name: Set up QEMU uses: docker/setup-qemu-action@v3 - if: startsWith(github.ref, 'refs/tags') - name: Docker Login uses: docker/login-action@v3 @@ -54,17 +51,15 @@ jobs: - name: Run GoReleaser uses: goreleaser/goreleaser-action@v6 - if: startsWith(github.ref, 'refs/tags') with: version: 0.177.0 - args: release --rm-dist + args: release --rm-dist ${{ github.event_name == 'pull_request' && '--snapshot' || '' }} env: GITHUB_TOKEN: ${{ github.token }} IMAGE_REPO: quay.io/operator-framework/olm PKG: github.com/operator-framework/operator-lifecycle-manager - name: Generate quickstart release manifests - if: startsWith(github.ref, 'refs/tags') run: make release ver=${{ env.IMAGE_TAG }} IMAGE_REPO=quay.io/operator-framework/olm - name: Update release artifacts with rendered Kubernetes release manifests