feat(container): use rsync instead cp

This commit is contained in:
Ahmad Husen
2021-05-30 13:36:39 +07:00
parent 0593cc597c
commit 65e9437ece
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
FROM docker.io/library/archlinux:base-devel
# Install dependencies
RUN pacman -Syu --needed --noconfirm pacman-contrib namcap git
RUN pacman -Syu --needed --noconfirm pacman-contrib namcap git rsync
# Setup user
RUN useradd --create-home --shell /bin/bash builder && \
+1 -1
View File
@@ -39,6 +39,6 @@ fi
echo '::endgroup::'
echo '::group::Copying /tmp/gh-action to $WORKPATH'
cp -rfv /tmp/gh-action $WORKPATH
rsync --avh --delete /tmp/gh-action/ $WORKPATH/
cd $WORKPATH
echo '::endgroup::'