Compare commits

..

3 Commits

Author SHA1 Message Date
wpetit 15a47179f4 feat: add release message with docker pull command
Cadoles/hydra-werther/pipeline/head This commit looks good Details
2023-12-06 15:21:30 +01:00
wpetit 7edc889271 Merge pull request 'Construction et diffusion des paquets/image de conteneur via Jenkins' (#4) from jenkins-release into develop
Cadoles/hydra-werther/pipeline/head This commit looks good Details
Reviewed-on: #4
2023-12-06 14:47:27 +01:00
wpetit b3a3e1987d feat: release docker and packages from jenkins
Cadoles/hydra-werther/pipeline/head This commit looks good Details
Cadoles/hydra-werther/pipeline/pr-develop This commit looks good Details
2023-12-06 14:43:28 +01:00
2 changed files with 10 additions and 2 deletions

3
Jenkinsfile vendored
View File

@ -25,6 +25,5 @@ standardMakePipeline([
// Use credentials to push images to registry and pubish gitea release
'credentials': [
usernamePassword(credentialsId: 'kipp-credentials', usernameVariable: 'MKT_GITEA_RELEASE_USERNAME', passwordVariable: 'MKT_GITEA_RELEASE_PASSWORD')
],
'releaseBranches': ['jenkins-release']
]
])

View File

@ -9,6 +9,15 @@ MKT_GITEA_RELEASE_ORG ?= Cadoles
MKT_GITEA_RELEASE_PROJECT ?= hydra-werther
MKT_GITEA_RELEASE_VERSION ?= $(MKT_PROJECT_VERSION)
define MKT_GITEA_RELEASE_BODY
## Docker usage
```
docker pull $(IMAGE_NAME):$(MKT_PROJECT_VERSION)
```
endef
export MKT_GITEA_RELEASE_BODY
build: build-bin build-image
build-bin: clean generate