-
Notifications
You must be signed in to change notification settings - Fork 520
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(255): push image to ghcr instead of docker hub #298
Merged
Merged
Changes from 6 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
3b94615
fix(255): push image to ghcr instead of docker hub
cb39cf1
fix(255): update pr workflow too
a5bb039
fix(255): add registry var
77e2df9
fix(255): checkout does not work as expected
72ae858
fix(255): add back
2cca412
Merge branch 'master' into fix-255
karl-johan-grahn 32ab2ad
Updated github actions to push to ghcr and dockerHub
hussnain612 3e88e06
Updated image path
hussnain612 aab8f66
Updated actions dependencies
hussnain612 ddbe303
Merge remote-tracking branch 'upstream/master' into fix-255
hussnain612 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,7 @@ env: | |
KUBERNETES_VERSION: "1.18.0" | ||
KIND_VERSION: "0.10.0" | ||
HELM_REGISTRY_URL: "https://stakater.github.io/stakater-charts" | ||
REGISTRY: ghcr.io | ||
|
||
jobs: | ||
build: | ||
|
@@ -83,11 +84,12 @@ jobs: | |
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v1 | ||
|
||
- name: Login to Registry | ||
uses: docker/login-action@v1 | ||
- name: Login to Docker registry ${{env.REGISTRY}} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should we update name to 'Login to GHCR registry' or 'image registry'? |
||
uses: docker/login-action@v1.14.1 | ||
with: | ||
username: ${{ secrets.STAKATER_DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.STAKATER_DOCKERHUB_PASSWORD }} | ||
registry: ${{env.REGISTRY}} | ||
username: ${{github.actor}} | ||
password: ${{secrets.GITHUB_TOKEN}} | ||
|
||
- name: Generate image repository path | ||
run: | | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we update name to 'Login to GHCR registry' or 'image registry'?