This commit is contained in:
parent
ff6d07d414
commit
84bcc1ecb7
@ -25,7 +25,7 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Use Node.js
|
- name: Use Node.js
|
||||||
uses: actions/setup-node@v4.1.1
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: "20.x"
|
node-version: "20.x"
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
@ -45,7 +45,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Login to Docker Hub
|
- name: Login to Docker Hub
|
||||||
# uses: docker/login-action@v3
|
# uses: docker/login-action@v3
|
||||||
uses: actions/login-action@v1
|
uses: actions/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: ${{ env.REGISTRY }}
|
registry: ${{ env.REGISTRY }}
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
@ -58,7 +58,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Docker build and push
|
- name: Docker build and push
|
||||||
# use: docker/build-push-action@v5
|
# use: docker/build-push-action@v5
|
||||||
uses: actions/build-push-action@v5
|
uses: actions/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
file: deploy/docker/Dockerfile
|
file: deploy/docker/Dockerfile
|
||||||
@ -69,7 +69,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Set up kubeconfig
|
- name: Set up kubeconfig
|
||||||
# uses: azure/k8s-set-context@v3
|
# uses: azure/k8s-set-context@v3
|
||||||
uses: actions/k8s-set-context@v3
|
uses: actions/k8s-set-context@v4
|
||||||
with:
|
with:
|
||||||
method: kubeconfig
|
method: kubeconfig
|
||||||
kubeconfig: ${{ secrets.KUBE_CONFIG }}
|
kubeconfig: ${{ secrets.KUBE_CONFIG }}
|
||||||
@ -77,7 +77,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Set up Helm
|
- name: Set up Helm
|
||||||
# uses: azure/setup-helm@v3
|
# uses: azure/setup-helm@v3
|
||||||
uses: actions/setup-helm@v3.6
|
uses: actions/setup-helm@v4
|
||||||
with:
|
with:
|
||||||
version: 'v3.13.1' # default is latest (stable)
|
version: 'v3.13.1' # default is latest (stable)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user