TEST: actions
Some checks failed
build / build-and-push (push) Failing after 4s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 6s

This commit is contained in:
2025-12-16 21:32:29 +01:00
parent 611d8e0f35
commit 882e728efb
2 changed files with 8 additions and 16 deletions

View File

@@ -9,23 +9,15 @@ jobs:
build-and-push: build-and-push:
runs-on: [k8s, kaniko] runs-on: [k8s, kaniko]
env:
DOCKER_HOST: tcp://localhost:2375
DOCKER_TLS_VERIFY: 0
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Registry
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: docker.io # Cambia si usas otro registro
- name: Build and push Docker image - name: Build and push Docker image
uses: docker/build-push-action@v5 run: |
with: docker build -t nexus.rancherk3.duckdns.org/tfm/microservicespython:latest .
context: . docker push nexus.rancherk3.duckdns.org/tfm/microservicespython:latest
push: true
tags: docker.io/tu_usuario/tu_imagen:latest

View File

@@ -4,7 +4,7 @@ on: [push]
jobs: jobs:
Explore-Gitea-Actions: Explore-Gitea-Actions:
runs-on: k8s runs-on: [k8s, kaniko]
steps: steps:
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event." - run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!" - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"