test by bot.

This commit is contained in:
licsber 2023-03-18 16:30:49 +08:00
parent c0b2049933
commit 0b07e03e7d
3 changed files with 19 additions and 1 deletions

View File

@ -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

View File

@ -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"

6
test.sh Executable file
View File

@ -0,0 +1,6 @@
#!/usr/bin/env bash
git add .
git commit -m 'test by bot.'
git push