Skip to content

Commit

Permalink
fix: use DOCKER_REGISTRY_ORG instead of ORG got docke push
Browse files Browse the repository at this point in the history
Signed-off-by: Youssef El Houti <youssef.elhouti@gmail.com>
  • Loading branch information
yelhouti committed Mar 11, 2020
1 parent 5987226 commit bdfd749
Show file tree
Hide file tree
Showing 18 changed files with 36 additions and 36 deletions.
4 changes: 2 additions & 2 deletions packs/C++/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pipelines:
name: container-build
postBuild:
steps:
- sh: jx step post build --image $DOCKER_REGISTRY/$ORG/$APP_NAME:$PREVIEW_VERSION
- sh: jx step post build --image $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$PREVIEW_VERSION
name: post-build
promote:
steps:
Expand All @@ -25,7 +25,7 @@ pipelines:
steps:
- sh: export VERSION=`cat VERSION` && skaffold build -f skaffold.yaml
name: container-build
- sh: jx step post build --image $DOCKER_REGISTRY/$ORG/$APP_NAME:\$(cat VERSION)
- sh: jx step post build --image $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:\$(cat VERSION)
name: post-build
promote:
steps:
Expand Down
4 changes: 2 additions & 2 deletions packs/D/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pipelines:
name: container-build
postBuild:
steps:
- sh: jx step post build --image $DOCKER_REGISTRY/$ORG/$APP_NAME:$PREVIEW_VERSION
- sh: jx step post build --image $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$PREVIEW_VERSION
name: post-build
promote:
steps:
Expand All @@ -25,7 +25,7 @@ pipelines:
steps:
- sh: export VERSION=`cat VERSION` && skaffold build -f skaffold.yaml
name: container-build
- sh: jx step post build --image $DOCKER_REGISTRY/$ORG/$APP_NAME:\$(cat VERSION)
- sh: jx step post build --image $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:\$(cat VERSION)
name: post-build
promote:
steps:
Expand Down
4 changes: 2 additions & 2 deletions packs/csharp/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pipelines:
name: container-build
postBuild:
steps:
- sh: jx step post build --image $DOCKER_REGISTRY/$ORG/$APP_NAME:$PREVIEW_VERSION
- sh: jx step post build --image $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$PREVIEW_VERSION
name: post-build
promote:
steps:
Expand All @@ -32,7 +32,7 @@ pipelines:
steps:
- sh: export VERSION=`cat VERSION` && skaffold build -f skaffold.yaml
name: container-build
- sh: jx step post build --image $DOCKER_REGISTRY/$ORG/$APP_NAME:\$(cat VERSION)
- sh: jx step post build --image $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:\$(cat VERSION)
name: post-build
promote:
steps:
Expand Down
4 changes: 2 additions & 2 deletions packs/cwp/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pipelines:
- sh: export VERSION=$PREVIEW_VERSION && skaffold build -f skaffold.yaml
postBuild:
steps:
- sh: jx step post build --image $DOCKER_REGISTRY/$ORG/$APP_NAME:$PREVIEW_VERSION
- sh: jx step post build --image $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$PREVIEW_VERSION
promote:
steps:
- dir: charts/preview
Expand All @@ -22,7 +22,7 @@ pipelines:
steps:
- sh: skaffold version
- sh: export VERSION=`cat VERSION` && skaffold build -f skaffold.yaml
- sh: jx step post build --image $DOCKER_REGISTRY/$ORG/$APP_NAME:\$(cat VERSION)
- sh: jx step post build --image $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:\$(cat VERSION)
promote:
steps:
- dir: charts/REPLACE_ME_APP_NAME
Expand Down
4 changes: 2 additions & 2 deletions packs/go-mongodb/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pipelines:
- sh: export VERSION=$PREVIEW_VERSION && skaffold build -f skaffold.yaml
postBuild:
steps:
- sh: jx step post build --image $DOCKER_REGISTRY/$ORG/$APP_NAME:$PREVIEW_VERSION
- sh: jx step post build --image $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$PREVIEW_VERSION
promote:
steps:
- dir: /home/jenkins/go/src/REPLACE_ME_GIT_PROVIDER/REPLACE_ME_ORG/REPLACE_ME_APP_NAME/charts/preview
Expand All @@ -20,7 +20,7 @@ pipelines:
build:
steps:
- sh: export VERSION=`cat VERSION` && skaffold build -f skaffold.yaml
- sh: jx step post build --image $DOCKER_REGISTRY/$ORG/$APP_NAME:\$(cat VERSION)
- sh: jx step post build --image $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:\$(cat VERSION)
promote:
steps:
- dir: /home/jenkins/go/src/REPLACE_ME_GIT_PROVIDER/REPLACE_ME_ORG/REPLACE_ME_APP_NAME/charts/REPLACE_ME_APP_NAME
Expand Down
4 changes: 2 additions & 2 deletions packs/go/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pipelines:
name: container-build
postBuild:
steps:
- sh: jx step post build --image $DOCKER_REGISTRY/$ORG/$APP_NAME:$PREVIEW_VERSION
- sh: jx step post build --image $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$PREVIEW_VERSION
name: post-build
promote:
steps:
Expand All @@ -25,7 +25,7 @@ pipelines:
steps:
- sh: export VERSION=`cat VERSION` && skaffold build -f skaffold.yaml
name: container-build
- sh: jx step post build --image $DOCKER_REGISTRY/$ORG/$APP_NAME:\$(cat VERSION)
- sh: jx step post build --image $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:\$(cat VERSION)
name: post-build
promote:
steps:
Expand Down
4 changes: 2 additions & 2 deletions packs/gradle/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pipelines:
name: container-build
postBuild:
steps:
- sh: jx step post build --image $DOCKER_REGISTRY/$ORG/$APP_NAME:$PREVIEW_VERSION
- sh: jx step post build --image $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$PREVIEW_VERSION
name: post-build
promote:
steps:
Expand All @@ -25,7 +25,7 @@ pipelines:
steps:
- sh: export VERSION=`cat VERSION` && skaffold build -f skaffold.yaml
name: container-build
- sh: jx step post build --image $DOCKER_REGISTRY/$ORG/$APP_NAME:\$(cat VERSION)
- sh: jx step post build --image $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:\$(cat VERSION)
name: post-build
promote:
steps:
Expand Down
4 changes: 2 additions & 2 deletions packs/javascript-ui-nginx/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pipelines:
name: container-build
postBuild:
steps:
- sh: jx step post build --image $DOCKER_REGISTRY/$ORG/$APP_NAME:$PREVIEW_VERSION
- sh: jx step post build --image $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$PREVIEW_VERSION
name: post-build
promote:
steps:
Expand All @@ -29,7 +29,7 @@ pipelines:
name: ui-build
- sh: export VERSION=`cat VERSION` && skaffold build -f skaffold.yaml
name: container-build
- sh: jx step post build --image $DOCKER_REGISTRY/$ORG/$APP_NAME:\$(cat VERSION)
- sh: jx step post build --image $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:\$(cat VERSION)
name: post-build
promote:
steps:
Expand Down
4 changes: 2 additions & 2 deletions packs/javascript/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pipelines:
name: container-build
postBuild:
steps:
- sh: jx step post build --image $DOCKER_REGISTRY/$ORG/$APP_NAME:$PREVIEW_VERSION
- sh: jx step post build --image $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$PREVIEW_VERSION
name: post-build
promote:
steps:
Expand All @@ -25,7 +25,7 @@ pipelines:
steps:
- sh: export VERSION=`cat VERSION` && skaffold build -f skaffold.yaml
name: container-build
- sh: jx step post build --image $DOCKER_REGISTRY/$ORG/$APP_NAME:\$(cat VERSION)
- sh: jx step post build --image $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:\$(cat VERSION)
name: post-build
promote:
steps:
Expand Down
4 changes: 2 additions & 2 deletions packs/maven-node-ruby/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pipelines:
name: container-build
postBuild:
steps:
- sh: jx step post build --image $DOCKER_REGISTRY/$ORG/$APP_NAME:$PREVIEW_VERSION
- sh: jx step post build --image $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$PREVIEW_VERSION
name: post-build
promote:
steps:
Expand All @@ -29,7 +29,7 @@ pipelines:
name: skaffold-version
- sh: export VERSION=`cat VERSION` && skaffold build -f skaffold.yaml
name: container-build
- sh: jx step post build --image $DOCKER_REGISTRY/$ORG/$APP_NAME:\$(cat VERSION)
- sh: jx step post build --image $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:\$(cat VERSION)
name: post-build
promote:
steps:
Expand Down
4 changes: 2 additions & 2 deletions packs/maven/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pipelines:
name: container-build
postBuild:
steps:
- sh: jx step post build --image $DOCKER_REGISTRY/$ORG/$APP_NAME:$PREVIEW_VERSION
- sh: jx step post build --image $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$PREVIEW_VERSION
name: post-build
promote:
steps:
Expand All @@ -29,7 +29,7 @@ pipelines:
name: skaffold-version
- sh: export VERSION=`cat VERSION` && skaffold build -f skaffold.yaml
name: container-build
- sh: jx step post build --image $DOCKER_REGISTRY/$ORG/$APP_NAME:\$(cat VERSION)
- sh: jx step post build --image $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:\$(cat VERSION)
name: post-build
promote:
steps:
Expand Down
4 changes: 2 additions & 2 deletions packs/ml-python-gpu-service/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pipelines:
- sh: export VERSION=$PREVIEW_VERSION && skaffold build -f skaffold.yaml
postBuild:
steps:
- sh: jx step post build --image $DOCKER_REGISTRY/$ORG/$APP_NAME:$PREVIEW_VERSION
- sh: jx step post build --image $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$PREVIEW_VERSION
promote:
steps:
- dir: ./charts/preview
Expand Down Expand Up @@ -46,7 +46,7 @@ pipelines:
- sh: source /root/.bashrc && pytest
name: testing
- sh: export VERSION=`cat VERSION` && skaffold build -f skaffold.yaml
- sh: jx step post build --image $DOCKER_REGISTRY/$ORG/$APP_NAME:\$(cat VERSION)
- sh: jx step post build --image $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:\$(cat VERSION)
promote:
steps:
- dir: ./charts/REPLACE_ME_APP_NAME
Expand Down
4 changes: 2 additions & 2 deletions packs/ml-python-service/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pipelines:
- sh: export VERSION=$PREVIEW_VERSION && skaffold build -f skaffold.yaml
postBuild:
steps:
- sh: jx step post build --image $DOCKER_REGISTRY/$ORG/$APP_NAME:$PREVIEW_VERSION
- sh: jx step post build --image $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$PREVIEW_VERSION
promote:
steps:
- dir: ./charts/preview
Expand Down Expand Up @@ -46,7 +46,7 @@ pipelines:
- sh: source /root/.bashrc && pytest
name: testing
- sh: export VERSION=`cat VERSION` && skaffold build -f skaffold.yaml
- sh: jx step post build --image $DOCKER_REGISTRY/$ORG/$APP_NAME:\$(cat VERSION)
- sh: jx step post build --image $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:\$(cat VERSION)
promote:
steps:
- dir: ./charts/REPLACE_ME_APP_NAME
Expand Down
4 changes: 2 additions & 2 deletions packs/php/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pipelines:
name: container-build
postBuild:
steps:
- sh: jx step post build --image $DOCKER_REGISTRY/$ORG/$APP_NAME:$PREVIEW_VERSION
- sh: jx step post build --image $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$PREVIEW_VERSION
name: post-build
promote:
steps:
Expand All @@ -32,7 +32,7 @@ pipelines:
steps:
- sh: export VERSION=`cat VERSION` && skaffold build -f skaffold.yaml
name: container-build
- sh: jx step post build --image $DOCKER_REGISTRY/$ORG/$APP_NAME:\$(cat VERSION)
- sh: jx step post build --image $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:\$(cat VERSION)
name: post-build
promote:
steps:
Expand Down
4 changes: 2 additions & 2 deletions packs/python/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pipelines:
name: container-build
postBuild:
steps:
- sh: jx step post build --image $DOCKER_REGISTRY/$ORG/$APP_NAME:$PREVIEW_VERSION
- sh: jx step post build --image $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$PREVIEW_VERSION
name: post-build
promote:
steps:
Expand All @@ -25,7 +25,7 @@ pipelines:
steps:
- sh: export VERSION=`cat VERSION` && skaffold build -f skaffold.yaml
name: container-build
- sh: jx step post build --image $DOCKER_REGISTRY/$ORG/$APP_NAME:\$(cat VERSION)
- sh: jx step post build --image $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:\$(cat VERSION)
name: post-build
promote:
steps:
Expand Down
4 changes: 2 additions & 2 deletions packs/ruby/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pipelines:
name: container-build
postBuild:
steps:
- sh: jx step post build --image $DOCKER_REGISTRY/$ORG/$APP_NAME:$PREVIEW_VERSION
- sh: jx step post build --image $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$PREVIEW_VERSION
name: post-build
promote:
steps:
Expand All @@ -32,7 +32,7 @@ pipelines:
steps:
- sh: export VERSION=`cat VERSION` && skaffold build -f skaffold.yaml
name: container-build
- sh: jx step post build --image $DOCKER_REGISTRY/$ORG/$APP_NAME:\$(cat VERSION)
- sh: jx step post build --image $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:\$(cat VERSION)
name: post-build
promote:
steps:
Expand Down
4 changes: 2 additions & 2 deletions packs/rust/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pipelines:
name: container-build
postBuild:
steps:
- sh: jx step post build --image $DOCKER_REGISTRY/$ORG/$APP_NAME:$PREVIEW_VERSION
- sh: jx step post build --image $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$PREVIEW_VERSION
name: post-build
promote:
steps:
Expand All @@ -25,7 +25,7 @@ pipelines:
steps:
- sh: export VERSION=`cat VERSION` && skaffold build -f skaffold.yaml
name: container-build
- sh: jx step post build --image $DOCKER_REGISTRY/$ORG/$APP_NAME:\$(cat VERSION)
- sh: jx step post build --image $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:\$(cat VERSION)
name: post-build
promote:
steps:
Expand Down
4 changes: 2 additions & 2 deletions packs/scala/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pipelines:
name: container-build
postBuild:
steps:
- sh: jx step post build --image $DOCKER_REGISTRY/$ORG/$APP_NAME:$PREVIEW_VERSION
- sh: jx step post build --image $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:$PREVIEW_VERSION
name: post-build
promote:
steps:
Expand All @@ -25,7 +25,7 @@ pipelines:
steps:
- sh: export VERSION=`cat VERSION` && skaffold build -f skaffold.yaml
name: container-build
- sh: jx step post build --image $DOCKER_REGISTRY/$ORG/$APP_NAME:\$(cat VERSION)
- sh: jx step post build --image $DOCKER_REGISTRY/$DOCKER_REGISTRY_ORG/$APP_NAME:\$(cat VERSION)
name: post-build
promote:
steps:
Expand Down

0 comments on commit bdfd749

Please sign in to comment.