Create docker series version tag YYYY.M (#51615)

* Create docker series version tag YYYY.M.x

* Only create docker series version for stable tags

Following review on the PR51615

* Remove the ".x" suffix for docker series tags

Following review on PR51615

* Fix the in-line comment

Oversight in previous commit
This commit is contained in:
Kenny Millington 2021-06-09 17:16:48 +01:00 committed by GitHub
parent e78c656bfe
commit cdf256b93e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -307,5 +307,9 @@ jobs:
create_manifest "${docker_reg}" "latest" "${{ needs.init.outputs.version }}"
create_manifest "${docker_reg}" "beta" "${{ needs.init.outputs.version }}"
create_manifest "${docker_reg}" "rc" "${{ needs.init.outputs.version }}"
# Create series version tag (e.g. 2021.6)
v="${{ needs.init.outputs.version }}"
create_manifest "${docker_reg}" "${v%.*}" "${{ needs.init.outputs.version }}"
fi
done