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
+2 -2
View File
@@ -10,6 +10,7 @@ jobs:
build-and-push: build-and-push:
name: Build and Push Docker Image name: Build and Push Docker Image
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 120 # Aumentado a 2 horas para dar más tiempo a la compilación
steps: steps:
- name: Checkout code - name: Checkout code
@@ -49,8 +50,7 @@ jobs:
push: true push: true
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha # Caché eliminado para evitar problemas de expiración de token
cache-to: type=gha,mode=max
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
# Build args if needed # Build args if needed
build-args: | build-args: |