Skip to content

Commit 2f35ceb

Browse files
authored
Push image using DOCKER_REPOSITORY (#7428)
Preview images work for personal repositories, but we missed another variable when publishing official images: #34 [auth] arikfr/redash:pull,push token for registry-1.docker.io #34 DONE 0.0s #33 exporting to image #33 pushing layers 15.5s done #33 pushing manifest for docker.io/arikfr/redash #33 pushing manifest for docker.io/arikfr/redash 1.6s done #33 ... #35 [auth] arikfr/preview:pull,push token for registry-1.docker.io #35 DONE 0.0s
1 parent 8e6c02e commit 2f35ceb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/preview-image.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ jobs:
100100
if: ${{ github.event.inputs.dockerRepository == 'preview' || !github.event.workflow_run }}
101101
with:
102102
tags: |
103-
${{ vars.DOCKER_USER }}/redash
104-
${{ vars.DOCKER_USER }}/preview
103+
${{ vars.DOCKER_REPOSITORY }}/redash
104+
${{ vars.DOCKER_REPOSITORY }}/preview
105105
context: .
106106
build-args: |
107107
test_all_deps=true
@@ -117,7 +117,7 @@ jobs:
117117
if: ${{ github.event.inputs.dockerRepository == 'redash' }}
118118
with:
119119
tags: |
120-
${{ vars.DOCKER_USER }}/redash:${{ steps.version.outputs.VERSION_TAG }}
120+
${{ vars.DOCKER_REPOSITORY }}/redash:${{ steps.version.outputs.VERSION_TAG }}
121121
context: .
122122
build-args: |
123123
test_all_deps=true

0 commit comments

Comments
 (0)