@@ -899,13 +899,47 @@ jobs:
899
899
gecho "docker_manifests:"
900
900
gecho " - name_template: ghcr.io/${{ github.repository }}:{{ .Tag }}"
901
901
gecho " image_templates:"
902
- if [[ "${{ inputs.release-arch-amd64 }}" == "true" ]]; then
902
+ if [[ "${{ inputs.release-arch-arm64 }}" == "true" ]]; then
903
903
gecho " - ghcr.io/${{ github.repository }}:{{ .Tag }}-amd64"
904
904
fi
905
905
if [[ "${{ inputs.release-arch-arm64 }}" == "true" ]]; then
906
906
gecho " - ghcr.io/${{ github.repository }}:{{ .Tag }-arm64}"
907
907
fi
908
908
909
+ if [[ "${{ inputs.release-docker-major }}" == "true" ]]; then
910
+ gecho " - name_template: ghcr.io/${{ github.repository }}:v{{ .Major }}"
911
+ gecho " image_templates:"
912
+ if [[ "${{ inputs.release-arch-amd64 }}" == "true" ]]; then
913
+ gecho " - ghcr.io/${{ github.repository }}:v{{ .Major }}-amd64}"
914
+ fi
915
+ if [[ "${{ inputs.release-arch-arm64 }}" == "true" ]]; then
916
+ gecho " - ghcr.io/${{ github.repository }}:v{{ .Major }}-arm64}"
917
+ fi
918
+ fi
919
+
920
+ if [[ "${{ inputs.release-docker-minor }}" == "true" ]]; then
921
+ gecho " - name_template: ghcr.io/${{ github.repository }}:v{{ .Major }}.{{ .Minor }}"
922
+ gecho " image_templates:"
923
+ if [[ "${{ inputs.release-arch-amd64 }}" == "true" ]]; then
924
+ gecho " - ghcr.io/${{ github.repository }}:v{{ .Major }}.{{ .Minor }}-amd64}"
925
+ fi
926
+ if [[ "${{ inputs.release-arch-arm64 }}" == "true" ]]; then
927
+ gecho " - ghcr.io/${{ github.repository }}:v{{ .Major }}.{{ .Minor }}-arm64}"
928
+ fi
929
+ fi
930
+
931
+ if [[ "${{ inputs.release-docker-latest }}" == "true" ]]; then
932
+ gecho " - name_template: ghcr.io/${{ github.repository }}:latest"
933
+ gecho " image_templates:"
934
+ if [[ "${{ inputs.release-arch-amd64 }}" == "true" ]]; then
935
+ gecho " - ghcr.io/${{ github.repository }}:latest-amd64}"
936
+ fi
937
+ if [[ "${{ inputs.release-arch-arm64 }}" == "true" ]]; then
938
+ gecho " - ghcr.io/${{ github.repository }}:latest-arm64}"
939
+ fi
940
+ fi
941
+
942
+
909
943
- name : Determine project license(s)
910
944
if : |
911
945
inputs.release-custom-file == false &&
0 commit comments