Skip to content

Commit

Permalink
Remove duplicate sign in nightly-test-release.yaml
Browse files Browse the repository at this point in the history
We are performing sign process as a part of the `release.yaml` workflow, so this was added by mistake.

Signed-off-by: Danil-Grigorev <[email protected]>
  • Loading branch information
Danil-Grigorev committed Dec 18, 2024
1 parent 8e02b74 commit 75fe1e0
Showing 1 changed file with 1 addition and 25 deletions.
26 changes: 1 addition & 25 deletions .github/workflows/nightly-test-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,33 +56,9 @@ jobs:
secret_registry: ${{ matrix.secret_registry }}
secrets: inherit

sign:
runs-on: ubuntu-latest
needs: [build-push-services]
permissions:
actions: read
id-token: write
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ inputs.tag }}
- name: Sign image with cosign
uses: ./.github/workflows/release_sign
with:
image: ${{ vars[inputs.image] }}
digest: ${{ needs.build.outputs.digest }}
identity: https://github.com/${{ inputs.org }}/turtles/.github/workflows/nightly-test-release.yml@${{ github.ref }}
oids-issuer: https://token.actions.githubusercontent.com
registry: ${{ inputs.secret_registry && secrets[inputs.registry] || inputs.registry }}
username: ${{ inputs.secret_registry && secrets[inputs.username] || inputs.username }}
password: ${{ secrets[inputs.password] }}

release:
name: Create helm release
needs: [sign]
needs: [build-push-services]
runs-on: ubuntu-latest
env:
PROD_REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }}
Expand Down

0 comments on commit 75fe1e0

Please sign in to comment.