Skip to content

Commit 572b188

Browse files
committed
kps/kpv: Switch over to github container registry
Switch over to github container registry instead of default dockerhub. We will still push to dockerhub, but this allows a selfcontained environment. Signed-off-by: Nishanth Menon <nm@ti.com>
1 parent ff5943f commit 572b188

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

kps

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
#!/bin/bash
22

3-
# Use Directly from Docker hub if not provided:
4-
IMG_NAME="${IMG_NAME:-nishanthmenon/arm-kernel-dev}"
3+
# Use Directly from github container registry if not provided:
4+
# dockerhub location is nishanthmenon/arm-kernel-dev
5+
IMG_NAME="${IMG_NAME:-ghcr.io/nmenon/arm-kernel-dev}"
56

67
# TBD: If we are using from github -> I need to figure out how to get that working..
78

@@ -19,9 +20,10 @@ if [ -z "$dimg" ]; then
1920
echo "Please install Docker Image arm-kernel-dev from: cd" `dirname $0` ";make"
2021
exit 1
2122
fi
22-
# If we are working off docker image from docker hub, make sure
23+
24+
# If we are working off docker image from github container reg, make sure
2325
# we have the latest.
24-
if [ "$IMG_NAME" = "nishanthmenon/arm-kernel-dev" ]; then
26+
if [ "$IMG_NAME" = "ghcr.io/nmenon/arm-kernel-dev" ]; then
2527
docker pull $IMG_NAME
2628
fi
2729
ccache=`which ccache`

kpv

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22

33
# Check if Docker image exists
44

5-
# Use Directly from Docker hub if not provided:
6-
IMG_NAME="${IMG_NAME:-nishanthmenon/arm-kernel-dev}"
5+
# Use Directly from github container registry if not provided:
6+
# dockerhub location is nishanthmenon/arm-kernel-dev
7+
IMG_NAME="${IMG_NAME:-ghcr.io/nmenon/arm-kernel-dev}"
78

89
# TBD: If we are using from github -> I need to figure out how to get that working..
910

@@ -21,9 +22,10 @@ if [ -z "$dimg" ]; then
2122
echo "Please install Docker Image arm-kernel-dev from: cd" `dirname $0` ";make"
2223
exit 1
2324
fi
24-
# If we are working off docker image from docker hub, make sure
25+
26+
# If we are working off docker image from github container reg, make sure
2527
# we have the latest.
26-
if [ "$IMG_NAME" = "nishanthmenon/arm-kernel-dev" ]; then
28+
if [ "$IMG_NAME" = "ghcr.io/nmenon/arm-kernel-dev" ]; then
2729
docker pull $IMG_NAME
2830
fi
2931
ccache=`which ccache`

0 commit comments

Comments
 (0)