ci: add KUBECONFIG_CONTENT secret to deploy job
This commit is contained in:
@@ -25,9 +25,15 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
BUILDTOOLS_CONTENT: ${{ secrets.BUILDTOOLS_CONTENT }}
|
BUILDTOOLS_CONTENT: ${{ secrets.BUILDTOOLS_CONTENT }}
|
||||||
GITEA_REPOSITORY: ${{ gitea.repository }}
|
GITEA_REPOSITORY: ${{ gitea.repository }}
|
||||||
|
KUBECONFIG_CONTENT: ${{ secrets.KUBECONFIG_CONTENT }}
|
||||||
environment: prod
|
environment: prod
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
- uses: buildtool/setup-buildtools-action@v1
|
- uses: buildtool/setup-buildtools-action@v1
|
||||||
|
- name: Install aws-iam-authenticator
|
||||||
|
run: |
|
||||||
|
curl -Lo aws-iam-authenticator https://github.com/kubernetes-sigs/aws-iam-authenticator/releases/latest/download/aws-iam-authenticator_linux_amd64
|
||||||
|
chmod +x aws-iam-authenticator
|
||||||
|
sudo mv aws-iam-authenticator /usr/local/bin/
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
run: deploy prod
|
run: deploy prod
|
||||||
|
|||||||
Reference in New Issue
Block a user