Replace buildx to kaniko
Some checks failed
Build VMCli with PowerShell / Build-VMCli (push) Failing after 1m29s
Some checks failed
Build VMCli with PowerShell / Build-VMCli (push) Failing after 1m29s
Signed-off-by: Leonardo Amaral <contato@leonardoamaral.com.br>
This commit is contained in:
parent
f8958bd25c
commit
0925837b48
@ -45,19 +45,16 @@ jobs:
|
|||||||
username: ${{ vars.PAT_USER }}
|
username: ${{ vars.PAT_USER }}
|
||||||
password: ${{ secrets.PAT_TOKEN}}
|
password: ${{ secrets.PAT_TOKEN}}
|
||||||
registry: git.leonardoamaral.com.br
|
registry: git.leonardoamaral.com.br
|
||||||
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v5
|
uses: int128/kaniko-action@v1
|
||||||
with:
|
with:
|
||||||
cache-from: type=local,src=/tmp/.buildx-cache
|
|
||||||
cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max
|
|
||||||
context: .
|
|
||||||
file: ./Containerfile
|
|
||||||
platforms: linux/amd64
|
|
||||||
push: true
|
push: true
|
||||||
tags: git.leonardoamaral.com.br/leonardo/vmcli-powershell-container
|
tags: git.leonardoamaral.com.br/leonardo/vmcli-powershell-container
|
||||||
network: webservices
|
cache: true
|
||||||
|
cache-repository: git.leonardoamaral.com.br/leonardo/vmcli-powershell-container-cache
|
||||||
|
executor: --network webservices gcr.io/kaniko-project/executor:debug
|
||||||
|
|
||||||
- name: Move cache
|
- name: Move cache
|
||||||
run: |
|
run: |
|
||||||
rm -rf /tmp/.buildx-cache
|
rm -rf /tmp/.buildx-cache
|
||||||
|
Loading…
Reference in New Issue
Block a user