Nuevo test
This commit is contained in:
12
.drone.yml
12
.drone.yml
@@ -14,7 +14,8 @@ steps:
|
||||
settings:
|
||||
registry:
|
||||
from_secret: REGISTRY_URL
|
||||
repo: ${{DRONE_REPO_OWNER}}/${{DRONE_REPO_NAME}}-backend
|
||||
# Sintaxis corregida para la sustitución de variables
|
||||
repo: ${DRONE_REPO_OWNER}/${DRONE_REPO_NAME}-backend
|
||||
username:
|
||||
from_secret: GITEA_USER
|
||||
password:
|
||||
@@ -22,14 +23,16 @@ steps:
|
||||
dockerfile: Backend/GestionIntegral.Api/Dockerfile
|
||||
tags:
|
||||
- latest
|
||||
- ${{DRONE_COMMIT_SHA:0:8}}
|
||||
# Sintaxis corregida para obtener los primeros 8 caracteres del hash del commit
|
||||
- ${DRONE_COMMIT_SHA:0:8}
|
||||
|
||||
- name: build-and-publish-frontend
|
||||
image: plugins/docker
|
||||
settings:
|
||||
registry:
|
||||
from_secret: REGISTRY_URL
|
||||
repo: ${{DRONE_REPO_OWNER}}/${{DRONE_REPO_NAME}}-frontend
|
||||
# Sintaxis corregida para la sustitución de variables
|
||||
repo: ${DRONE_REPO_OWNER}/${DRONE_REPO_NAME}-frontend
|
||||
username:
|
||||
from_secret: GITEA_USER
|
||||
password:
|
||||
@@ -37,7 +40,8 @@ steps:
|
||||
dockerfile: Frontend/Dockerfile
|
||||
tags:
|
||||
- latest
|
||||
- ${{DRONE_COMMIT_SHA:0:8}}
|
||||
# Sintaxis corregida para obtener los primeros 8 caracteres del hash del commit
|
||||
- ${DRONE_COMMIT_SHA:0:8}
|
||||
depends_on:
|
||||
- build-and-publish-backend
|
||||
|
||||
|
||||
Reference in New Issue
Block a user