feat: deploy pipeline

This commit is contained in:
devops 2026-05-08 17:04:13 +00:00
parent c14e55b41b
commit bfa2f76b72
1 changed files with 15 additions and 0 deletions

15
Jenkinsfile vendored Normal file
View File

@ -0,0 +1,15 @@
// LAB / FAKE - DO NOT USE
pipeline {
agent any
environment {
AWS_ACCESS_KEY_ID = "AKIAFAKECIRUNNERKEY9"
AWS_SECRET_ACCESS_KEY = "FAKEcirunner/Lab+OnlyDoNotUseInProductionBB"
REGISTRY_USER = "devops"
REGISTRY_PASS = "DevOps123!"
}
stages {
stage('build') { steps { sh 'docker build -t registry.keensafeglobalbank.com/keensafe/api:latest .' } }
stage('push') { steps { sh 'echo "$REGISTRY_PASS" | docker login -u "$REGISTRY_USER" --password-stdin registry.keensafeglobalbank.com && docker push registry.keensafeglobalbank.com/keensafe/api:latest' } }
stage('deploy') { steps { sh 'aws s3 sync ./dist s3://keensafe-public-assets-eu-west-1/' } }
}
}