Skip to content

Commit

Permalink
updated container files for ghcr.io deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
nakarma committed Jul 12, 2024
1 parent ca0a2d4 commit 75df5a8
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion rpios-base/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ esac
}

IMG() {
podman build --squash -t $IMAGE:$ARCH-latest -f ./Containerfile.$ARCH
podman build --squash -t $REGISTRY$IMAGE:$ARCH-latest -f ./Containerfile.$ARCH
}

CHECK() {
Expand Down
1 change: 1 addition & 0 deletions rpios-base/container.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ IMAGE=${PWD##*/}
ARCH=arm64
RELEASE=bookworm
VARIANT=minbase
REGISTRY=ghcr.io/nakarma/containers/
2 changes: 1 addition & 1 deletion rpios-gnome/Containerfile.arm64
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM nakarma/containers/rpios-mesa:arm64-latest
FROM ghcr.io/nakarma/containers/rpios-mesa:arm64-latest

ENV DEBIAN_FRONTEND noninteractive

Expand Down
2 changes: 1 addition & 1 deletion rpios-gnome/Containerfile.armhf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM nakarma/containers/rpios-mesa:armhf-latest
FROM ghcr.io/nakarma/containers/rpios-mesa:armhf-latest

ENV DEBIAN_FRONTEND noninteractive

Expand Down
3 changes: 2 additions & 1 deletion rpios-gnome/build.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
#!/bin/bash

IMAGE=${PWD##*/}
REGISTRY=ghcr.io/nakarma/containers/

BUILD() {
podman build -t $IMAGE:$ARCH-latest -f $1
podman build -t $REGISTRY$IMAGE:$ARCH-latest -f $1
}

case "$1" in
Expand Down
2 changes: 1 addition & 1 deletion rpios-mesa/Containerfile.arm64
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM nakarma/containers/rpios-base:arm64-latest
FROM ghcr.io/nakarma/containers/rpios-base:arm64-latest

ENV DEBIAN_FRONTEND noninteractive

Expand Down
2 changes: 1 addition & 1 deletion rpios-mesa/Containerfile.armhf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM localhost/rpios-base:armhf-latest
FROM ghcr.io/nakarma/containers/rpios-base:armhf-latest

ENV DEBIAN_FRONTEND noninteractive

Expand Down
3 changes: 2 additions & 1 deletion rpios-mesa/build.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
#!/bin/bash

IMAGE=${PWD##*/}
REGISTRY=ghcr.io/nakarma/containers/

BUILD() {
podman build -t $IMAGE:$ARCH-latest -f $1
podman build -t $REGISTRY$IMAGE:$ARCH-latest -f $1
}

case "$1" in
Expand Down

0 comments on commit 75df5a8

Please sign in to comment.