File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,10 @@ variable "IMAGE_NAME" {
1010 default = " temporal"
1111}
1212
13+ variable "GITHUB_REPOSITORY" {
14+ default = " temporalio/cli"
15+ }
16+
1317variable "IMAGE_SHA_TAG" {}
1418
1519variable "IMAGE_BRANCH_TAG" {}
@@ -46,8 +50,8 @@ target "cli" {
4650 labels = {
4751 " org.opencontainers.image.title" = " temporal"
4852 " org.opencontainers.image.description" = " Temporal CLI"
49- " org.opencontainers.image.url" = " https://github.com/temporalio/cli "
50- " org.opencontainers.image.source" = " https://github.com/temporalio/cli "
53+ " org.opencontainers.image.url" = " https://github.com/${ GITHUB_REPOSITORY } "
54+ " org.opencontainers.image.source" = " https://github.com/${ GITHUB_REPOSITORY } "
5155 " org.opencontainers.image.licenses" = " MIT"
5256 " org.opencontainers.image.revision" = " ${ CLI_SHA } "
5357 " org.opencontainers.image.created" = timestamp ()
Original file line number Diff line number Diff line change @@ -194,6 +194,7 @@ jobs:
194194 IMAGE_REPO : ${{ steps.meta.outputs.image_repo }}
195195 IMAGE_NAMESPACE : ${{ steps.meta.outputs.image_namespace }}
196196 IMAGE_NAME : ${{ steps.meta.outputs.image_name }}
197+ GITHUB_REPOSITORY : ${{ github.repository }}
197198
198199 - name : Build Docker image
199200 if : ${{ !inputs.publish }}
@@ -210,3 +211,4 @@ jobs:
210211 IMAGE_REPO : ${{ steps.meta.outputs.image_repo }}
211212 IMAGE_NAMESPACE : ${{ steps.meta.outputs.image_namespace }}
212213 IMAGE_NAME : ${{ steps.meta.outputs.image_name }}
214+ GITHUB_REPOSITORY : ${{ github.repository }}
You can’t perform that action at this time.
0 commit comments