commit 1d232d4a8bacb049140ec0b86ef0cfcc6a1613f2
parent 104f235bb13a52c50ee3d04d23cb6ba68d7d78f0
Author: Andreas Gruhler <agruhl@gmx.ch>
Date: Sat, 27 Sep 2025 12:30:22 +0200
feat(Jenkins): build images
Diffstat:
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
@@ -2,6 +2,8 @@
def updatecli = new Updatecli(this)
def trivy = new Trivy(this)
+def buildahbud = new BuildahBud(this)
+def buildahpush = new BuildahPush(this)
// https://plugins.jenkins.io/hashicorp-vault-plugin/#user-content-usage-via-jenkinsfile
def secrets = [
@@ -20,4 +22,9 @@ node('podman'){
trivy.vuln()
trivy.sbom()
}
+ // build with image context and name
+ buildahbud.execute([:], 'dockerfiles/api', 'myheats-api', 'latest')
+ buildahpush.execute('myheats-api', 'latest')
+ buildahbud.execute([:], 'dockerfiles/frontend', 'myheats-frontend', 'latest')
+ buildahpush.execute('myheats-frontend', 'latest')
}