This commit is contained in:
Alejandro Sarmiento
2024-03-11 21:46:10 +01:00
parent d8f15ee224
commit 6b79c3bf69

View File

@@ -36,7 +36,7 @@ pipeline {
sh "docker build --build-arg ENVIRONMENT=${env.ASP_ENVIRONMENT} -t ${imageName} ./CleanArchitecture/"
// Iniciar sesi<73>n y subir la imagen
docker.withRegistry('env.REGISTRY_URL', 'dockerregistryalexdev') {
docker.withRegistry('https://dockerregistry.alexdev.es', 'dockerregistryalexdev') {
echo "Vamos a ejecutar el docker tag"
sh "docker tag clean-architecture-backend:${version} dockerregistry.alexdev.es/clean-architecture-backend:${version}"
echo "Vamos a ejecutar el docker push"