TEST: build
Some checks failed
Build docker container / Build image (push) Has been cancelled

This commit is contained in:
2025-12-17 22:56:14 +01:00
parent 4b0dc569c4
commit c6ea02f413
6 changed files with 30 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
name: build
on:
push:
branches:
- main
jobs:
build-and-push:
runs-on: kaniko
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build with Kaniko
run: |
/kaniko/executor \
--context . \
--dockerfile ./Dockerfile \
--destination nexus.rancherk3.duckdns.org/tfm/microserviciospython:${{ github.sha }} \
--destination nexus.rancherk3.duckdns.org/tfm/microserviciospython:latest \
--cache=true \
--cache-dir=/cache