diff --git a/Jenkinsfile b/Jenkinsfile index 11f3dab..4c2ecc5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -104,7 +104,7 @@ pipeline { sh """ curl -v -X POST -u "${GITEA_USER}:${GITEA_PASS}" \ -H "Content-Type: application/json" \ - -d '{"tag_name": "${env.NEW_VERSION}", "name": "Release ${env.NEW_VERSION}", "target_commitish": "${prCommitHash}"}' \ + -d '{"tag_name": "${env.NEW_VERSION}", "name": "Release ${env.NEW_VERSION}", "target_commitish": "main"}' \ "${env.GITEA_REPOSITORY_URL}deployer3000/${env.IMAGE_NAME}/releases" """ echo "New release succeeded!" diff --git a/README.md b/README.md index 1db4248..d0027cf 100644 --- a/README.md +++ b/README.md @@ -2,4 +2,4 @@ ```bash docker build -t test-ci-cd . -docker run --rm --name test-ci-cd -p 8000:8080 test-ci-cd:latest +docker run --rm --name test-ci-cd -p 8000:8080 test-ci-cd:latest \ No newline at end of file