You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ci(docker): images should have independent major minor tags (#3406)
This PR refactors the image building, tagging and pushing github actions so that an appropriate hierarchy of tags are created.
These changes was extensively tested on a fork under my personal github account. You can view the actions logs here.
Changes proposed in this pull request
Tag independent minor and major docker images on releases
Refactoring of CI workflow
Performance test CI job modified to skip automatic commenting if PR is from a fork like this one
On releasing of new version v1.1.1
images created and pushed for the following tags
package_name v1.1.1
package_name v1.1
package_name v1
On releasing of new version v1.1.1-beta
images created and pushed for the following tags
package_name v1.1.1-beta
package_name v1.1-beta
package_name v1-beta
If any of the of the minor or major tags already exist we will simply override them.
description: "Will re-tag the docker image to create images for parent versions. For example, if the image is tagged 1.2.3, it will create a tag for 1.2 and 1.0 as well."
3
+
4
+
inputs:
5
+
app_name:
6
+
description: "The name of the application."
7
+
required: true
8
+
package:
9
+
required: true
10
+
description: "Package we are building, for example, 'rafiki-auth' or 'rafiki-backend'."
11
+
platform_name:
12
+
required: true
13
+
description: "Platform we are building for, for example, 'amd64' or 'arm64'."
14
+
gh_token:
15
+
description: "GitHub token to use for authentication."
16
+
required: true
17
+
version:
18
+
required: true
19
+
description: "Version we are tagging as, for example v1.2.3 or v1.2.3-rc1"
0 commit comments