Skip to content

Commit 06004f4

Browse files
committed
Fix image push to ghcr registry, prepare RC6
1 parent 8d4d58b commit 06004f4

File tree

8 files changed

+21
-18
lines changed

8 files changed

+21
-18
lines changed

.github/workflows/prerelease.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ jobs:
106106
working-directory: ./packages/exoframe-server
107107
env:
108108
IMAGE_NAME: exoframe/server
109+
GHCR_IMAGE_NAME: exoframejs/server
109110
run: |
110111
REF=${GITHUB_REF##*/}
111112
VERSION=${{ steps.version.outputs.new }}
@@ -115,18 +116,19 @@ jobs:
115116
echo TAG=$TAG
116117
echo DEBUG_TAG=$DEBUG_TAG
117118
echo IMAGE_NAME=$IMAGE_NAME
119+
echo GHCR_IMAGE_NAME=$GHCR_IMAGE_NAME
118120
echo VERSION=$VERSION
119121
# Build docker image
120122
docker build -f docker/Dockerfile --quiet --cache-from $IMAGE_NAME:$TAG --label "version=$VERSION" -t $IMAGE_NAME:$TAG .
121123
# Build debug docker image
122124
docker build -f docker/Dockerfile.debug --quiet --cache-from $IMAGE_NAME:$DEBUG_TAG --label "version=$VERSION" -t $IMAGE_NAME:$DEBUG_TAG .
123125
docker tag $IMAGE_NAME:$TAG $IMAGE_NAME:next
124-
docker tag $IMAGE_NAME:$TAG ghcr.io/$IMAGE_NAME:next
126+
docker tag $IMAGE_NAME:$TAG ghcr.io/$GHCR_IMAGE_NAME:next
125127
docker tag $IMAGE_NAME:$TAG $IMAGE_NAME:debug_next
126-
docker tag $IMAGE_NAME:$TAG ghcr.io/$IMAGE_NAME:debug_next
128+
docker tag $IMAGE_NAME:$TAG ghcr.io/$GHCR_IMAGE_NAME:debug_next
127129
# Push all images to registry
128130
docker push --all-tags $IMAGE_NAME
129-
docker push --all-tags ghcr.io/$IMAGE_NAME
131+
docker push --all-tags ghcr.io/$GHCR_IMAGE_NAME
130132
131133
publish-recipe-ghost:
132134
runs-on: ubuntu-latest

.github/workflows/release.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ jobs:
9999
working-directory: ./packages/exoframe-server
100100
env:
101101
IMAGE_NAME: exoframe/server
102+
GHCR_IMAGE_NAME: exoframejs/server
102103
run: |
103104
VERSION=${{ steps.version.outputs.new }}
104105
TAG="$VERSION"
@@ -108,12 +109,12 @@ jobs:
108109
docker build -f docker/Dockerfile.debug --quiet --cache-from $IMAGE_NAME:$DEBUG_TAG --label "version=$VERSION" -t $IMAGE_NAME:$DEBUG_TAG .
109110
docker tag $IMAGE_NAME:$TAG $IMAGE_NAME:latest
110111
docker tag $IMAGE_NAME:$DEBUG_TAG $IMAGE_NAME:debug_latest
111-
docker tag $IMAGE_NAME:$TAG ghcr.io/$IMAGE_NAME:$TAG
112-
docker tag $IMAGE_NAME:$DEBUG_TAG ghcr.io/$IMAGE_NAME:$DEBUG_TAG
113-
docker tag $IMAGE_NAME:$TAG ghcr.io/$IMAGE_NAME:latest
114-
docker tag $IMAGE_NAME:$DEBUG_TAG ghcr.io/$IMAGE_NAME:debug_latest
112+
docker tag $IMAGE_NAME:$TAG ghcr.io/$GHCR_IMAGE_NAME:$TAG
113+
docker tag $IMAGE_NAME:$DEBUG_TAG ghcr.io/$GHCR_IMAGE_NAME:$DEBUG_TAG
114+
docker tag $IMAGE_NAME:$TAG ghcr.io/$GHCR_IMAGE_NAME:latest
115+
docker tag $IMAGE_NAME:$DEBUG_TAG ghcr.io/$GHCR_IMAGE_NAME:debug_latest
115116
docker push --all-tags $IMAGE_NAME
116-
docker push --all-tags ghcr.io/$IMAGE_NAME
117+
docker push --all-tags ghcr.io/$GHCR_IMAGE_NAME
117118
118119
publish-recipe-ghost:
119120
runs-on: ubuntu-latest

package-lock.json

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/exoframe-cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "exoframe",
3-
"version": "7.0.0-rc.5",
3+
"version": "7.0.0-rc.6",
44
"description": "CLI for Exoframe, self-hosted deployment tool",
55
"main": "dist/index.js",
66
"type": "module",

packages/exoframe-client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "exoframe-client",
3-
"version": "7.0.0-rc.5",
3+
"version": "7.0.0-rc.6",
44
"description": "API client for Exoframe server, self-hosted deployment tool",
55
"main": "index.js",
66
"repository": "git@github.com:exoframejs/exoframe.git",

packages/exoframe-recipe-ghost/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "exoframe-recipe-ghost",
3-
"version": "1.0.0-rc.5",
3+
"version": "1.0.0-rc.6",
44
"description": "",
55
"main": "index.js",
66
"type": "module",

packages/exoframe-server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "exoframe-server",
3-
"version": "7.0.0-rc.5",
3+
"version": "7.0.0-rc.6",
44
"description": "Exoframe server, a self-hosted deployment tool",
55
"main": "src/index.js",
66
"bin": "bin/exoframe-server.js",

packages/exoframe-template-java/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "exoframe-template-java",
3-
"version": "1.0.0-rc.5",
3+
"version": "1.0.0-rc.6",
44
"description": "Java deployment template for exoframe",
55
"main": "index.js",
66
"type": "module",

0 commit comments

Comments
 (0)