Files
microservicios_python/.gitea/workflows/build.yml
dfcarvajal 3e2ebd8ea9
Some checks failed
build / build (push) Failing after 1m18s
CHANGE: more test actions
2025-12-12 13:46:09 +01:00

29 lines
739 B
YAML

name: build
on:
push:
branches:
- main
jobs:
build:
runs-on: [k8s, kaniko]
steps:
- name: Checkout
uses: https://gitea.com/actions/checkout@v4
- name: Login a Nexus
env:
NEXUS_USER: ${{ secrets.NEXUS_USER }}
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
run: |
echo "$NEXUS_PASSWORD" | docker login nexus.rancherk3.duckdns.org -u "$NEXUS_USER" --password-stdin
- name: Build & Push image with Kaniko
uses: docker://gcr.io/kaniko-project/executor:latest
with:
args: >
--context=.
--dockerfile=./Dockerfile
--destination=nexus.rancherk3.duckdns.org/tfm/microserviciospython:latest