Update docker-publish.yml

This commit is contained in:
Dionisio Pozo
2025-04-22 09:00:12 +02:00
committed by GitHub
parent 9cb4abaec7
commit 2aed76f9bc

View File

@@ -10,7 +10,8 @@ jobs:
build-and-push:
name: Build and Push Docker Image
runs-on: ubuntu-latest
timeout-minutes: 120 # Aumentado a 2 horas para dar más tiempo a la compilación
steps:
- name: Checkout code
uses: actions/checkout@v4
@@ -49,8 +50,7 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
# Caché eliminado para evitar problemas de expiración de token
platforms: linux/amd64,linux/arm64
# Build args if needed
build-args: |
@@ -60,4 +60,4 @@ jobs:
- name: Post Success Notification
if: success()
run: |
echo "🚢 Docker image for version ${{ github.ref_name }} has been successfully pushed to Docker Hub!"
echo "🚢 Docker image for version ${{ github.ref_name }} has been successfully pushed to Docker Hub!"