ci: configura deploy automatico para k3s
This commit is contained in:
parent
620b110b9c
commit
e8881c30b3
1 changed files with 6 additions and 1 deletions
|
|
@ -9,9 +9,12 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
build-and-push:
|
build-and-push:
|
||||||
runs-on: docker-ready
|
runs-on: docker-ready
|
||||||
|
# ISSO AQUI RESOLVE O ERRO DE VERSÃO DA API
|
||||||
|
env:
|
||||||
|
DOCKER_API_VERSION: "1.43"
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
shell: sh # <--- ISSO AQUI OBRIGA O RUNNER A PARAR DE PEDIR BASH
|
shell: sh
|
||||||
steps:
|
steps:
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -61,6 +64,8 @@ jobs:
|
||||||
deploy-to-k3s:
|
deploy-to-k3s:
|
||||||
needs: build-and-push
|
needs: build-and-push
|
||||||
runs-on: docker-ready
|
runs-on: docker-ready
|
||||||
|
env:
|
||||||
|
DOCKER_API_VERSION: "1.43"
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
shell: sh
|
shell: sh
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue