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

STEP-PUSH failed for OpenShift pipeline #14

Open
bharathEndhurthi opened this issue Apr 21, 2022 · 0 comments
Open

STEP-PUSH failed for OpenShift pipeline #14

bharathEndhurthi opened this issue Apr 21, 2022 · 0 comments

Comments

@bharathEndhurthi
Copy link

Hi Team, I have followed and implement same steps from the READ.me file.
The Image is built successfully, after that it is failing to push the image to ICR.
Do we need to configure container registry with pipelines? If yes, Could you please help me to integrate it with pipelines. (I'm using IBM's private container registry for my OpenShift cluster)

Please find the logs below as reference:

STEP-CREATE-DIR-IMAGE-KZCNQ

STEP-GIT-SOURCE-SOURCE-Z6FK9

{"level":"info","ts":1650521733.3137443,"caller":"git/git.go:169","msg":"Successfully cloned https://github.com/vladsancira/nodejs-tekton.git @ 63c07ec (grafted, HEAD, origin/master) in path /workspace/source"}
{"level":"info","ts":1650521733.355925,"caller":"git/git.go:207","msg":"Successfully initialized and updated submodules in path /workspace/source"}
STEP-GENERATE

Application dockerfile generated in /gen-source/Dockerfile.gen
STEP-BUILD

STEP 1: FROM image-registry.openshift-image-registry.svc:5000/openshift/nodejs:latest
Getting image source signatures
Copying blob sha256:f10101e62e86627bfa39cc796adad8c9b12d23ee0c15705b925a3939ebf8b829
Copying blob sha256:b6a3f7bac74d89629a41d353a0a7005f16165e2e689f89aab30c624ad881960c
Copying blob sha256:d0c9851d609d0bfab8ea16ae528b7ace74e6856bf9215f644ec611974aa5019e
Copying blob sha256:33db084abe90803d3c1ed1fa2db456724adb80961c94c09f91bf5b2c046a9008
Copying config sha256:7e83665d8f0d0036e301f7f0d2d8cb499e93c2a8e8aaec41e0ec7df4f3d8ee36
Writing manifest to image destination
Storing signatures
STEP 2: LABEL "io.openshift.s2i.build.image"="image-registry.openshift-image-registry.svc:5000/openshift/nodejs:latest" "io.openshift.s2i.build.source-location"="nodejs"
23ff01198f3ad853767456117517f1696255ec81fca21cebc945f7943ab443cb
STEP 3: USER root
c17fea34f82e7efa87af484282e3f0c47db1e01a751a00b396ddfb5271586aed
STEP 4: COPY upload/src /tmp/src
e0bff5650afd5e20432018410c93b8a69369556679e2ee6d1c936291beb2bff1
STEP 5: RUN chown -R 1001:0 /tmp/src
e4eb3599a584b40dc318783f5709da22827d54bbd670a73f60d817e25711f698
STEP 6: USER 1001
37e733b8cd5d063b670a071db9fcdc50e3a9bba444e9168b9b190c4d78229a1e
STEP 7: RUN /usr/libexec/s2i/assemble
---> Installing application source ...
---> Installing all dependencies

[email protected] postinstall /opt/app-root/src/node_modules/core-js
node scripts/postinstall || echo "ignore"

�[96mThank you for using core-js (�[94m https://github.com/zloirock/core-js �[96m) for polyfilling JavaScript standard library!�[0m

�[96mThe project needs your help! Please consider supporting of core-js on Open Collective or Patreon: �[0m
�[96m>�[94m https://opencollective.com/core-js �[0m
�[96m>�[94m https://www.patreon.com/zloirock �[0m

�[96mAlso, the author of core-js (�[94m https://github.com/zloirock �[96m) is looking for a good job -)�[0m

added 189 packages from 204 contributors and audited 190 packages in 5.172s
found 13 vulnerabilities (2 low, 5 moderate, 5 high, 1 critical)
run npm audit fix to fix them, or npm audit for details
---> Building in production mode
---> Pruning the development dependencies
audited 190 packages in 0.984s
found 13 vulnerabilities (2 low, 5 moderate, 5 high, 1 critical)
run npm audit fix to fix them, or npm audit for details
/opt/app-root/src/.npm is not a mountpoint
---> Cleaning the npm cache /opt/app-root/src/.npm
/tmp is not a mountpoint
---> Cleaning the /tmp/npm-*
9d902e661fd801284617c1994a744e31186d91a4163ecbfc36591dbe3e9659ed
STEP 8: CMD /usr/libexec/s2i/run
STEP 9: COMMIT image-registry.openshift-image-registry.svc:5000/env-dev/nodejs-tekton
cb6c7cd1763e58ac27f4340873af732855eca8472c819d76c83a14a57c6a2b72

STEP-PUSH

Getting image source signatures
unauthorized: authentication required
STEP-IMAGE-DIGEST-EXPORTER-Z65GB

2022/04/21 06:16:44 Skipping step because a previous step failed.

Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant