Skip to content

Commit

Permalink
Change release to use GitHub image registry
Browse files Browse the repository at this point in the history
  • Loading branch information
thegridman committed Sep 28, 2020
1 parent b73842f commit 62a50c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ COHERENCE_IMAGE ?= oraclecoherence/coherence-ce:20.06.1
TEST_COHERENCE_IMAGE ?= $(COHERENCE_IMAGE)

# Operator image names
RELEASE_IMAGE_PREFIX ?= ghcr.io/oracle/coherence-operator/
RELEASE_IMAGE_PREFIX ?= ghcr.io/oracle/
OPERATOR_IMAGE_REPO := $(RELEASE_IMAGE_PREFIX)coherence-operator
OPERATOR_IMAGE := $(OPERATOR_IMAGE_REPO):$(VERSION)
UTILS_IMAGE ?= $(OPERATOR_IMAGE_REPO):$(VERSION)-utils
Expand Down

0 comments on commit 62a50c8

Please sign in to comment.