Skip to content

Commit

Permalink
Update release.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: wuxs <wuxs@wuxs.vip>
  • Loading branch information
wuxs authored Dec 14, 2023
1 parent c04e42e commit d1d6d7d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ on:
release:
types: [created]
env:
IMAGE_REPOSITORY: kubesphere
IMAGE_REPOSITORY: edgewize

jobs:
publish-cli:
if: github.repository == 'loft-sh/vcluster' && startsWith(github.ref, 'refs/tags/v') == true
if: startsWith(github.ref, 'refs/tags/v') == true
runs-on: macos-12
permissions:
id-token: write
Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:
pattern: "release/*"
github-token: ${{ secrets.GITHUB_TOKEN }}
publish-vcluster-image:
if: github.repository == 'loft-sh/vcluster' && startsWith(github.ref, 'refs/tags/v') == true
if: startsWith(github.ref, 'refs/tags/v') == true
runs-on: ubuntu-22.04
permissions:
id-token: write # This is the key for OIDC!
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
run: |
COSIGN_EXPERIMENTAL=1 cosign sign --force ${{ env.IMAGE_REPOSITORY }}/vcluster@${{ steps.docker_build.outputs.digest }}
publish-vcluster-cli-image:
if: github.repository == 'loft-sh/vcluster' && startsWith(github.ref, 'refs/tags/v') == true
if: startsWith(github.ref, 'refs/tags/v') == true
runs-on: ubuntu-22.04
permissions:
id-token: write # This is the key for OIDC!
Expand Down

0 comments on commit d1d6d7d

Please sign in to comment.