Files
microservicios_python/.gitea/workflows/build.yml
dfcarvajal 25c79e808a
Some checks failed
build / build-and-push (push) Failing after 4s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 7s
TEST: actions
2025-12-16 22:57:37 +01:00

26 lines
562 B
YAML

name: build
on:
push:
branches:
- main
jobs:
build-and-push:
runs-on: [k8s, kaniko]
env:
DOCKER_HOST: tcp://localhost:2375
DOCKER_TLS_VERIFY: 0
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Build and push Docker image
env:
DOCKER_TLS_VERIFY: ""
DOCKER_CERT_PATH: ""
run: |
docker build -t nexus.rancherk3.duckdns.org/tfm/microservicespython:latest .
docker push nexus.rancherk3.duckdns.org/tfm/microservicespython:latest