-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change release to use GitHub image registry
- Loading branch information
1 parent
b73842f
commit 62a50c8
Showing
2 changed files
with
4 additions
and
4 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,10 +56,10 @@ jobs: | |
- name: Release | ||
shell: bash | ||
run: | | ||
docker login ghcr.io/$GITHUB_REPOSITORY/ --username ${{ secrets.IMAGE_REGISTRY_USER }} --password ${{ secrets.IMAGE_REGISTRY_TOKEN }} | ||
docker login ghcr.io/oracle/ --username ${{ secrets.IMAGE_REGISTRY_USER }} --password ${{ secrets.IMAGE_REGISTRY_TOKEN }} | ||
git config --local user.name "Github Action" | ||
git config --local user.email "[email protected]" | ||
make clean | ||
make build-all-images RELEASE_IMAGE_PREFIX="ghcr.io/$GITHUB_REPOSITORY/" | ||
make build-all-images | ||
if echo $GITHUB_EVENT_NAME -eq "release"; then PRE_RELEASE=false; else PRE_RELEASE=true; fi | ||
make release RELEASE_DRY_RUN=false PRE_RELEASE=$PRE_RELEASE RELEASE_IMAGE_PREFIX="ghcr.io/$GITHUB_REPOSITORY/" | ||
make release RELEASE_DRY_RUN=false PRE_RELEASE=$PRE_RELEASE |
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