mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-31 03:45:17 +00:00
fix: use github token instead of pat (#7727)
* fix: remove jmespath replace directive Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * fix: use github token instead of pat Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> --------- Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
This commit is contained in:
parent
164fb8059f
commit
5ea387e372
1 changed files with 13 additions and 13 deletions
26
.github/workflows/release.yaml
vendored
26
.github/workflows/release.yaml
vendored
|
@ -46,7 +46,7 @@ jobs:
|
|||
makefile-target: ko-publish-kyverno
|
||||
registry: ghcr.io
|
||||
registry-username: ${{ github.actor }}
|
||||
registry-password: ${{ secrets.CR_PAT }}
|
||||
registry-password: ${{ secrets.GITHUB_TOKEN }}
|
||||
repository: ${{ github.repository_owner }}
|
||||
version: ${{ github.ref_name }}
|
||||
sign-image: true
|
||||
|
@ -61,7 +61,7 @@ jobs:
|
|||
makefile-target: ko-publish-kyverno-init
|
||||
registry: ghcr.io
|
||||
registry-username: ${{ github.actor }}
|
||||
registry-password: ${{ secrets.CR_PAT }}
|
||||
registry-password: ${{ secrets.GITHUB_TOKEN }}
|
||||
repository: ${{ github.repository_owner }}
|
||||
version: ${{ github.ref_name }}
|
||||
sign-image: true
|
||||
|
@ -76,7 +76,7 @@ jobs:
|
|||
makefile-target: ko-publish-background-controller
|
||||
registry: ghcr.io
|
||||
registry-username: ${{ github.actor }}
|
||||
registry-password: ${{ secrets.CR_PAT }}
|
||||
registry-password: ${{ secrets.GITHUB_TOKEN }}
|
||||
repository: ${{ github.repository_owner }}
|
||||
version: ${{ github.ref_name }}
|
||||
sign-image: true
|
||||
|
@ -91,7 +91,7 @@ jobs:
|
|||
makefile-target: ko-publish-cleanup-controller
|
||||
registry: ghcr.io
|
||||
registry-username: ${{ github.actor }}
|
||||
registry-password: ${{ secrets.CR_PAT }}
|
||||
registry-password: ${{ secrets.GITHUB_TOKEN }}
|
||||
repository: ${{ github.repository_owner }}
|
||||
version: ${{ github.ref_name }}
|
||||
sign-image: true
|
||||
|
@ -106,7 +106,7 @@ jobs:
|
|||
makefile-target: ko-publish-cli
|
||||
registry: ghcr.io
|
||||
registry-username: ${{ github.actor }}
|
||||
registry-password: ${{ secrets.CR_PAT }}
|
||||
registry-password: ${{ secrets.GITHUB_TOKEN }}
|
||||
repository: ${{ github.repository_owner }}
|
||||
version: ${{ github.ref_name }}
|
||||
sign-image: true
|
||||
|
@ -121,7 +121,7 @@ jobs:
|
|||
makefile-target: ko-publish-reports-controller
|
||||
registry: ghcr.io
|
||||
registry-username: ${{ github.actor }}
|
||||
registry-password: ${{ secrets.CR_PAT }}
|
||||
registry-password: ${{ secrets.GITHUB_TOKEN }}
|
||||
repository: ${{ github.repository_owner }}
|
||||
version: ${{ github.ref_name }}
|
||||
sign-image: true
|
||||
|
@ -143,7 +143,7 @@ jobs:
|
|||
digest: "${{ needs.release-images.outputs.kyverno-digest }}"
|
||||
registry-username: ${{ github.actor }}
|
||||
secrets:
|
||||
registry-password: ${{ secrets.CR_PAT }}
|
||||
registry-password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
generate-kyverno-init-provenance:
|
||||
needs: release-images
|
||||
|
@ -158,7 +158,7 @@ jobs:
|
|||
digest: "${{ needs.release-images.outputs.kyverno-init-digest }}"
|
||||
registry-username: ${{ github.actor }}
|
||||
secrets:
|
||||
registry-password: ${{ secrets.CR_PAT }}
|
||||
registry-password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
generate-background-controller-provenance:
|
||||
needs: release-images
|
||||
|
@ -173,7 +173,7 @@ jobs:
|
|||
digest: "${{ needs.release-images.outputs.background-controller-digest }}"
|
||||
registry-username: ${{ github.actor }}
|
||||
secrets:
|
||||
registry-password: ${{ secrets.CR_PAT }}
|
||||
registry-password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
generate-cleanup-controller-provenance:
|
||||
needs: release-images
|
||||
|
@ -188,7 +188,7 @@ jobs:
|
|||
digest: "${{ needs.release-images.outputs.cleanup-controller-digest }}"
|
||||
registry-username: ${{ github.actor }}
|
||||
secrets:
|
||||
registry-password: ${{ secrets.CR_PAT }}
|
||||
registry-password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
generate-kyverno-cli-provenance:
|
||||
needs: release-images
|
||||
|
@ -203,7 +203,7 @@ jobs:
|
|||
digest: "${{ needs.release-images.outputs.cli-digest }}"
|
||||
registry-username: ${{ github.actor }}
|
||||
secrets:
|
||||
registry-password: ${{ secrets.CR_PAT }}
|
||||
registry-password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
generate-reports-controller-provenance:
|
||||
needs: release-images
|
||||
|
@ -218,7 +218,7 @@ jobs:
|
|||
digest: "${{ needs.release-images.outputs.reports-controller-digest }}"
|
||||
registry-username: ${{ github.actor }}
|
||||
secrets:
|
||||
registry-password: ${{ secrets.CR_PAT }}
|
||||
registry-password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
create-release:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -296,7 +296,7 @@ jobs:
|
|||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Push manifests to GHCR with Flux
|
||||
env:
|
||||
CR_PAT_ARTIFACTS: ${{ secrets.CR_PAT_ARTIFACTS }}
|
||||
CR_PAT_ARTIFACTS: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
set -e
|
||||
mkdir -p config/.release-manifests
|
||||
|
|
Loading…
Add table
Reference in a new issue