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