Skip to content

Commit e4f25d8

Browse files
committed
vm-kernel: push to GHCR
1 parent 4d28214 commit e4f25d8

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

.github/workflows/build-images.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ env:
5757
IMG_CONTROLLER: "neondatabase/neonvm-controller"
5858
IMG_VXLAN_CONTROLLER: "neondatabase/neonvm-vxlan-controller"
5959
IMG_RUNNER: "neondatabase/neonvm-runner"
60-
IMG_KERNEL: "neondatabase/vm-kernel"
6160
IMG_SCHEDULER: "neondatabase/autoscale-scheduler"
6261
IMG_AUTOSCALER_AGENT: "neondatabase/autoscaler-agent"
6362
IMG_DAEMON: "neondatabase/neonvm-daemon"

.github/workflows/vm-kernel.yaml

+15
Original file line numberDiff line numberDiff line change
@@ -302,3 +302,18 @@ jobs:
302302
docker buildx imagetools create "${args[@]}"
303303
304304
echo "image=${result_image}" >> $GITHUB_OUTPUT
305+
306+
- name: Login to GHCR
307+
uses: docker/login-action@v3
308+
with:
309+
registry: ghcr.io
310+
username: ${{ github.repository_owner }}
311+
password: ${{ secrets.GITHUB_TOKEN }}
312+
313+
- name: Copy vm-kernel to GHCR
314+
env:
315+
TAG: ${{ needs.get-tags.outputs.canonical }}
316+
run: |
317+
echo Copy ${VM_KERNEL_IMAGE}:${TAG} to GHCR
318+
docker buildx imagetools create -t "ghcr.io/${VM_KERNEL_IMAGE}:${TAG}" \
319+
${VM_KERNEL_IMAGE}:${TAG}

0 commit comments

Comments
 (0)