From 0b07e03e7db8442f3ceb69a12f08e8855d73e02e Mon Sep 17 00:00:00 2001 From: licsber Date: Sat, 18 Mar 2023 16:30:49 +0800 Subject: [PATCH] test by bot. --- Dockerfile.r4se | 10 ++++++++++ build-r4se.sh | 4 +++- test.sh | 6 ++++++ 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100755 test.sh diff --git a/Dockerfile.r4se b/Dockerfile.r4se index b967745..df3637a 100644 --- a/Dockerfile.r4se +++ b/Dockerfile.r4se @@ -24,3 +24,13 @@ RUN echo $(nproc) && \ USER licsber WORKDIR /licsber +RUN repo init --depth=1 -u https://github.com/friendlyarm/friendlywrt_manifests -b master-v22.03 \ + -m rk3399.xml --repo-url=https://github.com/friendlyarm/repo --no-clone-bundle && \ + repo sync -c friendlywrt --no-clone-bundle && \ + repo sync -c configs --no-clone-bundle && \ + repo sync -c device/common --no-clone-bundle && \ + repo sync -c device/friendlyelec --no-clone-bundle && \ + repo sync -c scripts --no-clone-bundle && \ + repo sync -c scripts/sd-fuse --no-clone-bundle && \ + repo sync -c toolchain --no-clone-bundle + diff --git a/build-r4se.sh b/build-r4se.sh index 21cb1f4..94f5875 100755 --- a/build-r4se.sh +++ b/build-r4se.sh @@ -6,5 +6,7 @@ NAMESPACE=licsber REPOSITORY=github TAG=r4se.manual -sudo docker build -t "$REGISTRY/$NAMESPACE/$REPOSITORY:$TAG" --file "$DOCKERFILE" . +IMAGE="$REGISTRY/$NAMESPACE/$REPOSITORY:$TAG" +sudo docker build -t "$IMAGE" --file "$DOCKERFILE" . +sudo docker push "$IMAGE" diff --git a/test.sh b/test.sh new file mode 100755 index 0000000..d43ca27 --- /dev/null +++ b/test.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +git add . +git commit -m 'test by bot.' +git push +