jenkins-infra / ircbot

Jenkins IRCbot
https://jenkins.io/projects/infrastructure/ircbot/
MIT License
23 stars 27 forks source link

Use pipeline-library to automatically publish docker image #104

Closed dduportal closed 2 years ago

dduportal commented 3 years ago
dduportal commented 2 years ago

Recent PRs which are allowing this: #112 #114 #120 #121 #122 #125 (and #105 even if not merged: it paved the way).

dduportal commented 2 years ago

First build https://infra.ci.jenkins.io/job/docker-jobs/job/ircbot/job/main/1/ failed at the deployment stage.

Had to fix permissions on Docker hub (allowing the technical user to read/write the ircbot) image.

2nd build in progress.

dduportal commented 2 years ago

2nd build deployed successfully \o/

Any tag created on the repo should trigger the build with the correct docker image tag (as soon as the tag is less than 3 days old if not annotated)