Comments (3)
Tried with both and it works fine. Maybe i just need to add an input to set the tls-verify to false for openshift registry as in crc i get this error "x509: certificate signed by unknown authority"
For an internal OpenShift registry the values needed are:
- name: Push To Quay
uses: redhat-actions/push-to-registry@v1
with:
image: ${{ env.IMAGE_NAME }}
registry: ${{ secrets.OPENSHIFT_REGISTRY }} // something like default-route-openshift-image-registry.apps-crc.testing/projectname
username: ${{ secrets.OPENSHIFT_USERNAME }} // classic username used to login in openshift
password: ${{ secrets.OPENSHIFT_TOKEN }} // the openshift token (not working by using the password)
What we need to mention is that the user need to have some specific roles to push/pull to the registry https://docs.openshift.com/container-platform/3.9/install_config/registry/accessing_registry.html#access-user-prerequisites
For dockerhub, the same as quay.io
- name: Push To Quay
uses: redhat-actions/push-to-registry@v1
with:
image: ${{ env.IMAGE_NAME }}
registry: ${{ secrets.DOCKER_REPO }} //docker.io/username
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
from push-to-registry.
Can we also provide examples (of pushing to different registries) for few of them?
Does it makes sense?
from push-to-registry.
Closing this because Divyanshu verified the OpenShift Registry, and I verified GHCR.
from push-to-registry.
Related Issues (20)
- [Workflow] Add CRDA scan step in the CI workflow
- Failing to push image to ghcr.io: 403 (Forbidden) HOT 3
- Add support to push image manifest HOT 1
- [BUG] Enforce Lower-case Repository Name for Registry Push HOT 3
- [BUG] v2.4 breaks pushing multiple tags at once HOT 6
- [DISCUSSION] Handling multiple tags in v3
- [BUG] Push fails silently and pushes tags but no images HOT 1
- [BUG] buildah is not found while using on `nektos/act` HOT 2
- [QUESTION] Recommendation on dealing with server side errors? HOT 1
- [BUG] Remote images take precedence over localhost images HOT 2
- [BUG] Uppercase letters in username will cause transport error when uploading container HOT 1
- [FEATURE] Add option to disable push/pull from Docker daemon HOT 2
- [BUG] Normalised image names are not working HOT 1
- [BUG] `set-output` being deprecated
- [BUG] Deprecation warning
- [QUESTION] what is your suggested source for a qemu-user-static version that works with UBI9 ppc64le
- [FEATURE] set build context directory HOT 1
- [FEATURE] Add support for signing and pushing signatures with sigstore HOT 1
- [NODE20] Support for node20 now that node16 has been deprecated from GitHub
- Support for podman --remote
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from push-to-registry.