|
15 | 15 | - registry.k8s.io/sig-storage/csi-provisioner |
16 | 16 | - registry.k8s.io/git-sync/git-sync |
17 | 17 | - registry-1.docker.io/library/golang |
| 18 | + - registry-1.docker.io/dxflrs/garage |
18 | 19 | image-index-manifest-tag: |
19 | 20 | description: | |
20 | 21 | The image index manifest tag, like 1.0.14 or v1.0.14 |
21 | 22 | type: string |
22 | 23 | required: true |
| 24 | + # TODO (@NickLarsenNZ): Combine this with the source image above |
| 25 | + # So that we don't have to remember which project for which mirrored image |
| 26 | + destination-project: |
| 27 | + description: | |
| 28 | + Destination project in Harbor (eg: sdp, stackable) |
| 29 | + type: string |
| 30 | + default: sdp |
23 | 31 |
|
24 | 32 | permissions: {} |
25 | 33 |
|
|
65 | 73 | image-registry-uri: oci.stackable.tech |
66 | 74 | image-registry-username: robot$sdp+github-action-build |
67 | 75 | image-registry-password: ${{ secrets.HARBOR_ROBOT_SDP_GITHUB_ACTION_BUILD_SECRET }} |
68 | | - image-repository: ${{ format('sdp/{0}', env.IMAGE_REPOSITORY) }} |
| 76 | + image-repository: ${{ format('{0}/{1}', inputs.destination-project, env.IMAGE_REPOSITORY) }} |
69 | 77 | image-manifest-tag: ${{ format('{0}-{1}', inputs.image-index-manifest-tag, matrix.arch) }} |
70 | 78 | source-image-uri: ${{ format('{0}:{1}', inputs.image-repository-uri, inputs.image-index-manifest-tag) }} |
71 | 79 |
|
|
93 | 101 | image-registry-uri: oci.stackable.tech |
94 | 102 | image-registry-username: robot$sdp+github-action-build |
95 | 103 | image-registry-password: ${{ secrets.HARBOR_ROBOT_SDP_GITHUB_ACTION_BUILD_SECRET }} |
96 | | - image-repository: ${{ format('sdp/{0}', env.IMAGE_REPOSITORY) }} |
| 104 | + image-repository: ${{ format('{0}/{1}', inputs.destination-project, env.IMAGE_REPOSITORY) }} |
97 | 105 | image-index-manifest-tag: ${{ inputs.image-index-manifest-tag }} |
98 | 106 |
|
99 | 107 | # NOTE (@Techassi) It is currently not possible to use our own action here, because the inputs |
|
0 commit comments