Fix indentación. Y Trusted en Drone.

This commit is contained in:
2025-06-16 12:48:22 -03:00
parent 55ca8bffa7
commit 8156df9f90

View File

@@ -16,7 +16,6 @@ trigger:
steps: steps:
- name: build-and-publish-backend - name: build-and-publish-backend
image: plugins/docker image: plugins/docker
# Añade la sección "volumes" aquí
volumes: volumes:
- name: dockersock - name: dockersock
path: /var/run/docker.sock path: /var/run/docker.sock
@@ -34,6 +33,27 @@ steps:
- ${DRONE_COMMIT_SHA:0:8} - ${DRONE_COMMIT_SHA:0:8}
insecure: true insecure: true
- name: build-and-publish-frontend
image: plugins/docker
volumes:
- name: dockersock
path: /var/run/docker.sock
settings:
registry:
from_secret: REGISTRY_URL
repo: ${DRONE_REPO_OWNER}/${DRONE_REPO_NAME}-frontend
username:
from_secret: GITEA_USER
password:
from_secret: ACTIONS_PAT
dockerfile: Frontend/Dockerfile
tags:
- latest
- ${DRONE_COMMIT_SHA:0:8}
insecure: true
depends_on:
- build-and-publish-backend
- name: build-and-publish-frontend - name: build-and-publish-frontend
image: plugins/docker image: plugins/docker
# Añade la sección "volumes" también aquí # Añade la sección "volumes" también aquí