Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use DOCKER_REGISTRY_ORG instead of ORG got docke push #96

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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