ci: refactor CI workflow to support multiple hosts

- Remove `1.6.8` version from the `FROM` instruction in the Dockerfile
- Add a new job to copy files to multiple hosts in the CI workflow

Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi.Wu
2023-04-16 11:34:29 +08:00
parent 82ebdbe3ed
commit 4ab8543120
2 changed files with 18 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
FROM ghcr.io/appleboy/drone-scp:1.6.8
FROM ghcr.io/appleboy/drone-scp
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh