build: trying to see whether I can push to container registry
Some checks failed
forgejo/scripts/pipeline/head There was a failure building this commit
/ desec-script (push) Has been cancelled

This commit is contained in:
devaine 2026-11-11 20:42:02 -06:00
commit 625df11b6d
Signed by: devaine
GPG key ID: 954B1DCAC6FF84EE

4
Jenkinsfile vendored
View file

@ -2,6 +2,7 @@ pipeline {
agent any agent any
environment { environment {
PROJECT_OWNER = "devaine" PROJECT_OWNER = "devaine"
PROJECT_NAME = "scripts"
} }
stages { stages {
stage("build-desec") { stage("build-desec") {
@ -29,7 +30,8 @@ pipeline {
// Get into the desec-ip-sync directory // Get into the desec-ip-sync directory
dir('./server/desec-ip-sync/') { dir('./server/desec-ip-sync/') {
sh ''' sh '''
docker buildx build -t "$REGISTRY"/"$PROJECT_OWNER"/"$SCRIPT_NAME" . docker buildx build -t "$REGISTRY"/"$PROJECT_OWNER"/"$PROJECT_NAME":$SCRIPT_NAME" .
docker push "$REGISTRY"/"$PROJECT_OWNER"/"$PROJECT_NAME":"$SCRIPT_NAME"
''' '''
} }
} }