Laravel Vapor - Change to use private repository with Amazon Elastic Container Registry

This commit is contained in:
Dillon Ngo
2024-01-01 04:48:17 +08:00
parent 2c5b9e55c5
commit 9ecf0e5c9e
Vendored
+2 -1
View File
@@ -9,9 +9,10 @@
pipeline {
agent {
docker {
alwaysPull true
args '--group-add 992 -v /var/run/docker.sock:/var/run/docker.sock'
image '303644228504.dkr.ecr.ap-southeast-1.amazonaws.com/jenkins-pipeline-agent:latest'
registryCredentialsId "ecr:ap-southeast-1:aws-ec2-instance-iam-role"
registryUrl "https://303644228504.dkr.ecr.ap-southeast-1.amazonaws.com"
}
}
environment {