This commit is contained in:
parent
835eeb313f
commit
47b3c857c8
@ -17,13 +17,22 @@ jobs:
|
|||||||
- name: Install Kubectl
|
- name: Install Kubectl
|
||||||
uses: azure/setup-kubectl@v4
|
uses: azure/setup-kubectl@v4
|
||||||
|
|
||||||
- uses: azure/k8s-create-secret@v2
|
- name: test
|
||||||
with:
|
run: echo ${{ secrets.BASIC_AUTH }} > auth
|
||||||
namespace: default
|
|
||||||
secret-type: generic
|
|
||||||
secret-name: basic-auth
|
|
||||||
data: ${{ secrets.BASIC_AUTH }}
|
|
||||||
|
|
||||||
|
- name: test
|
||||||
|
run: cat auth
|
||||||
|
|
||||||
|
- name: test
|
||||||
|
run: kubectl get pods
|
||||||
|
|
||||||
|
# - uses: azure/k8s-create-secret@v2
|
||||||
|
# with:
|
||||||
|
# namespace: default
|
||||||
|
# secret-type: generic
|
||||||
|
# secret-name: basic-auth
|
||||||
|
# data: ${{ secrets.BASIC_AUTH }}
|
||||||
|
#
|
||||||
# - name: Build docker image
|
# - name: Build docker image
|
||||||
# uses: https://code.thetadev.de/ThetaDev/action-kaniko@v1
|
# uses: https://code.thetadev.de/ThetaDev/action-kaniko@v1
|
||||||
# with:
|
# with:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user