This PR will add the semver tags from Git to the Docker image builds. For code pushed to main, with a tag of v1.2.3 the following tags would get added:
latest
1
1.2
1.2.3
main
sha-1234567
Code pushed to branches other than main will have tags for their branch, and for their Git SHA, and will not be tagged with latest.
This PR also changes away from using a separate action to determine the SHA. The only difference to end users is that the Docker tag with the SHA will now be prefixed with sha-.
This PR will add the semver tags from Git to the Docker image builds. For code pushed to
main
, with a tag ofv1.2.3
the following tags would get added:Code pushed to branches other than main will have tags for their branch, and for their Git SHA, and will not be tagged with
latest
.This PR also changes away from using a separate action to determine the SHA. The only difference to end users is that the Docker tag with the SHA will now be prefixed with
sha-
.