Update docker-publish.yml
This commit is contained in:
@@ -10,7 +10,8 @@ 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
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -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: |
|
||||||
@@ -60,4 +60,4 @@ jobs:
|
|||||||
- name: Post Success Notification
|
- name: Post Success Notification
|
||||||
if: success()
|
if: success()
|
||||||
run: |
|
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!"
|
||||||
|
|||||||
Reference in New Issue
Block a user