Skip to content

Automate Docker Image Release during the packaging build #398

Description

@dduportal

Any Core release should automatically create the (annotated) tag and publish the release in jenkinsci/docker to automate the release process described in the

release/docs/releases.md

Lines 277 to 289 in 6a55156

### Publish Docker image
⚠️ **Requires write access to the [jenkinsci/docker repository](https://github.com/jenkinsci/docker) ** ⚠️
💡 **Access to the network containing trusted.ci.jenkins.io could help in case of error but is not mandatory** 💡
Create a new tag in the [jenkinsci/docker repository](https://github.com/jenkinsci/docker) with the value of the released core version:
- `git tag --annotate --message="2.VVV.V" 2.VVV.V`
- `git push upstream 2.VVV.V`
Publish a release on GitHub associated with the tag pushed.
The [Container image job in trusted.ci.jenkins.io](https://trusted.ci.jenkins.io:1443/job/Containers/job/Core%20Release%20Containers) should detect the tag in the next 15 minutes and automatically publish it to the DockerHub.
**Note**: If you do not have access to the network trusted.ci.jenkins.io is in, ask a release team or infrastructure team member to start the job for you. Access to the VPN is not sufficient.
documentation.

This issue is NOT about building the Docker image in release.ci.jenkins.io: it's tracked in jenkins-infra/helpdesk#2845 as a separate topic (because release.ci does not have agents with a Docker CE Engine today).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    Priority

    None yet

    Target date

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions