mirror of
https://github.com/Burnett01/rsync-deployments.git
synced 2026-09-19 21:25:22 +08:00
Compare commits
12 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3fc2e3250f | |||
| 155b6d6c12 | |||
| 4d419d1dc4 | |||
| 32988e12ed | |||
| 003130719f | |||
| 0467ec3563 | |||
| 66257cad6b | |||
| 27212fc826 | |||
| dc0d5d44c4 | |||
| cccc35d762 | |||
| 2ad5f95a8a | |||
| 115573f97b |
@@ -0,0 +1 @@
|
||||
github: [burnett01]
|
||||
@@ -4,3 +4,7 @@ updates:
|
||||
directory: /
|
||||
schedule:
|
||||
interval: monthly
|
||||
- package-ecosystem: github-actions
|
||||
directory: /
|
||||
schedule:
|
||||
interval: weekly
|
||||
|
||||
@@ -23,7 +23,7 @@ jobs:
|
||||
name: Test BATS Suite
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v7
|
||||
|
||||
- name: Install BATS
|
||||
run: |
|
||||
@@ -38,7 +38,7 @@ jobs:
|
||||
name: Validate Action Definition
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v7
|
||||
|
||||
- name: Validate action.yml
|
||||
run: |
|
||||
@@ -81,7 +81,7 @@ jobs:
|
||||
needs: [validate-action, action-structure]
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v7
|
||||
|
||||
- name: Build Docker image
|
||||
run: |
|
||||
@@ -94,7 +94,7 @@ jobs:
|
||||
name: Validate Action Structure
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v7
|
||||
|
||||
- name: Check required files
|
||||
run: |
|
||||
@@ -128,7 +128,7 @@ jobs:
|
||||
name: Lint Shell Scripts
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v7
|
||||
|
||||
- name: Install ShellCheck
|
||||
run: |
|
||||
@@ -151,7 +151,7 @@ jobs:
|
||||
needs: [test, validate-action, docker-build, action-structure, lint-shell]
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v7
|
||||
|
||||
- name: Final integration check
|
||||
run: |
|
||||
|
||||
@@ -19,7 +19,7 @@ jobs:
|
||||
actions: read
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v7
|
||||
- name: Build a Docker image
|
||||
run: docker build -t burnett01/rsync-deployments .
|
||||
- name: Run Snyk to check Docker image for vulnerabilities
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
FROM alpine:3.23.2@sha256:865b95f46d98cf867a156fe4a135ad3fe50d2056aa3f25ed31662dff6da4eb62 AS base
|
||||
FROM alpine:3.24.1@sha256:28bd5fe8b56d1bd048e5babf5b10710ebe0bae67db86916198a6eec434943f8b AS base
|
||||
|
||||
RUN apk update && apk add --no-cache --upgrade rsync openssh openssl busybox
|
||||
RUN apk update && apk add --no-cache --upgrade 'rsync>=3.5.0-r0' openssh openssl busybox
|
||||
|
||||
RUN rm -rf /var/cache/apk/*
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2019-2022 Contention
|
||||
Copyright (c) 2019-2025 Joshua Piper (Dr Internet)
|
||||
Copyright (c) 2019-2025 Burnett01
|
||||
Copyright (c) 2019-2026 Joshua Piper (Dr Internet)
|
||||
Copyright (c) 2019-2026 Burnett01
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
@@ -10,23 +10,23 @@ This cross-platform GitHub Action deploys files in [`path`](#inputs) (relative t
|
||||
|
||||
Use this action in a CD workflow which leaves deployable code in `GITHUB_WORKSPACE`, such [actions/checkout](https://github.com/actions/checkout).
|
||||
|
||||
The base-image of this action is very small and based on **Alpine 3.23.2** (no cache) which results in fast deployments.
|
||||
The base-image of this action is very small and based on **Alpine 3.24.1** (no cache) which results in fast deployments.
|
||||
|
||||
Alpine version: [3.23.2](https://www.alpinelinux.org/posts/Alpine-3.23.2-released.html)
|
||||
Rsync version: [3.4.1-r1](https://download.samba.org/pub/rsync/NEWS#3.4.1)
|
||||
Alpine version: [3.24.1](https://www.alpinelinux.org/posts/Alpine-3.24.1-released.html)
|
||||
Rsync version: [3.5.0-r0](https://download.samba.org/pub/rsync/NEWS#3.5.0)
|
||||
|
||||
## Current Version: v8 (8.0.3)
|
||||
## Current Version: v9 (9.0.1)
|
||||
|
||||
### Release channels:
|
||||
|
||||
| Version | Purpose | Immutable |
|
||||
| ------- | ------------------ | ------------------ |
|
||||
| ``v8`` (recommended) | latest MAJOR (pointer to 8.MINOR.PATCH) | no |
|
||||
| 8.0.3 | latest MINOR+PATCH | yes |
|
||||
| 7.1.0 | previous MAJOR ([deprecation notice](https://github.com/Burnett01/rsync-deployments/discussions/96)) | yes |
|
||||
| ``v9`` (recommended, LTS) | latest MAJOR (pointer to 9.MINOR.PATCH) | no |
|
||||
| 9.0.1 | latest MAJOR+MINOR+PATCH | yes |
|
||||
| ``v8`` (ESU) | previous MAJOR (pointer to 8.MINOR.PATCH) | no |
|
||||
| 8.0.5 | previous MAJOR+MINOR+PATCH | yes |
|
||||
|
||||
Check [SECURITY.md](SECURITY.md) for support cycles.
|
||||
|
||||
---
|
||||
|
||||
## How it works
|
||||
@@ -41,9 +41,9 @@ jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- uses: actions/checkout@v7
|
||||
- name: rsync deployments
|
||||
uses: burnett01/rsync-deployments@v8
|
||||
uses: burnett01/rsync-deployments@v9
|
||||
with:
|
||||
switches: -avzr --delete
|
||||
path: src/
|
||||
@@ -107,9 +107,9 @@ jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- uses: actions/checkout@v7
|
||||
- name: rsync deployments
|
||||
uses: burnett01/rsync-deployments@v8
|
||||
uses: burnett01/rsync-deployments@v9
|
||||
with:
|
||||
switches: -avzr --delete
|
||||
path: src/
|
||||
@@ -127,9 +127,9 @@ jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- uses: actions/checkout@v7
|
||||
- name: rsync deployments
|
||||
uses: burnett01/rsync-deployments@v8
|
||||
uses: burnett01/rsync-deployments@v9
|
||||
with:
|
||||
switches: -avzr --delete --exclude="" --include="" --filter=""
|
||||
path: src/
|
||||
@@ -147,9 +147,9 @@ jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- uses: actions/checkout@v7
|
||||
- name: rsync deployments
|
||||
uses: burnett01/rsync-deployments@v8
|
||||
uses: burnett01/rsync-deployments@v9
|
||||
with:
|
||||
switches: -avzr --delete
|
||||
path: src/
|
||||
@@ -173,9 +173,9 @@ jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- uses: actions/checkout@v7
|
||||
- name: rsync deployments
|
||||
uses: burnett01/rsync-deployments@v8
|
||||
uses: burnett01/rsync-deployments@v9
|
||||
with:
|
||||
switches: -avzr --delete
|
||||
legacy_allow_rsa_hostkeys: "true"
|
||||
@@ -285,20 +285,56 @@ sudo apk add rsync
|
||||
|
||||
## Versions
|
||||
|
||||
## Version 9.0.0
|
||||
|
||||
Check here:
|
||||
|
||||
- https://github.com/Burnett01/rsync-deployments/tree/9.0.0 (alpine 3.24.1)
|
||||
|
||||
## Version 8.0.5
|
||||
|
||||
Check here:
|
||||
|
||||
- https://github.com/Burnett01/rsync-deployments/tree/8.0.5 (alpine 3.23.4)
|
||||
|
||||
## Version 8.0.4
|
||||
|
||||
Check here:
|
||||
|
||||
- https://github.com/Burnett01/rsync-deployments/tree/8.0.4 (alpine 3.23.3)
|
||||
|
||||
## Version 8.0.3
|
||||
|
||||
Check here:
|
||||
|
||||
- https://github.com/Burnett01/rsync-deployments/tree/8.0.3 (alpine 3.23.2)
|
||||
|
||||
## Version 8.0.2
|
||||
|
||||
Check here:
|
||||
|
||||
- https://github.com/Burnett01/rsync-deployments/tree/8.0.2 (alpine 3.23.0)
|
||||
|
||||
## Version 8.0.1 (EOL)
|
||||
|
||||
Check here:
|
||||
|
||||
- https://github.com/Burnett01/rsync-deployments/tree/8.0.1 (alpine 3.23.0)
|
||||
|
||||
## Version 8.0.0 (EOL due to regression -> fixed via 8.0.1 & 8.0.2)
|
||||
|
||||
Check here:
|
||||
|
||||
- https://github.com/Burnett01/rsync-deployments/tree/8.0.0 (alpine 3.23.0)
|
||||
|
||||
## Version 7.1.0
|
||||
## Version 7.1.0 (EOL)
|
||||
|
||||
Check here:
|
||||
|
||||
- https://github.com/Burnett01/rsync-deployments/tree/7.1.0 (alpine 3.22.1)
|
||||
|
||||
|
||||
## Version 7.0.2 (DEPRECATED)
|
||||
## Version 7.0.2 (EOL)
|
||||
|
||||
Check here:
|
||||
|
||||
|
||||
+9
-5
@@ -8,12 +8,16 @@ The following versions are currently being supported with security updates:
|
||||
|
||||
| Version | Supported | Rsync version | Alpine version | Support Until |
|
||||
| ------- | ------------------ | ------------------ | ------------------ | ------------------ |
|
||||
| (``v8``) 8.0.3 | :white_check_mark: | >= 3.4.1-r1 | 3.23.2 | LTS (2026-*) |
|
||||
| 8.0.2 | :white_check_mark: | >= 3.4.1-r1 | 3.23.0 | LTS (2026-*) |
|
||||
| 8.0.1 | :white_check_mark: | >= 3.4.1-r1 | 3.23.0 | Apr, 1st 2026 |
|
||||
| (``v9``) 9.0.1 | :white_check_mark: | >= 3.5.0-r0 | 3.24.1 | LTS (2028-*) |
|
||||
| 9.0.0 | :white_check_mark: | >= 3.4.3-r1 | 3.24.1 | LTS (2028-*) |
|
||||
| (``v8``) 8.0.5 | :white_check_mark: | >= 3.4.1-r1 | 3.23.4 | ESU (Apr, 1st 2027) |
|
||||
| 8.0.4 | :warning: DEPRECATED | >= 3.4.1-r1 | 3.23.3 | Dec, 6th 2026 |
|
||||
| 8.0.3 | :warning: DEPRECATED | >= 3.4.1-r1 | 3.23.2 | Dec, 6th 2026 |
|
||||
| 8.0.2 | :warning: DEPRECATED | >= 3.4.1-r1 | 3.23.0 | Dec, 6th 2026 |
|
||||
| 8.0.1 | :x: EOL | >= 3.4.1-r1 | 3.23.0 | † Apr, 1st 2026 |
|
||||
| 8.0.0 | :x: EOL (due to regression #90) | >= 3.4.1-r1 | 3.23.0 | † Dec, 6th 2025 |
|
||||
| 7.1.0 | :warning: DEPRECATED | >= 3.4.1-r0 | 3.22.1 | June, 1st 2026 ([deprecation notice](https://github.com/Burnett01/rsync-deployments/discussions/96)) |
|
||||
| 7.0.2 | :warning: DEPRECATED | >= 3.4.0-r0 | 3.22.1 | June, 1st 2026 ([deprecation notice](https://github.com/Burnett01/rsync-deployments/discussions/96)) |
|
||||
| 7.1.0 | :x: EOL | >= 3.4.1-r0 | 3.22.1 | † June, 1st 2026 ([deprecation notice](https://github.com/Burnett01/rsync-deployments/discussions/96)) |
|
||||
| 7.0.2 | :x: EOL | >= 3.4.0-r0 | 3.22.1 | † June, 1st 2026 ([deprecation notice](https://github.com/Burnett01/rsync-deployments/discussions/96)) |
|
||||
| 7.0.1 | :x: EOL | < 3.4.0 | 3.22.1 | † Dec, 6th 2025 |
|
||||
| 7.0.0 | :x: EOL | < 3.4.0| 3.19.1 | † Dec, 6th 2025 |
|
||||
| 6.x | :x: EOL |< 3.4.0| 3.17.2 | † 2024 |
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
name: 'Rsync Deployments Action'
|
||||
description: 'GitHub Action for deploying code via rsync over ssh'
|
||||
description: 'GitHub Action for deploying code via rsync over ssh securely - used by 5k+ workflows!'
|
||||
author: 'Burnett01'
|
||||
inputs:
|
||||
switches:
|
||||
|
||||
Reference in New Issue
Block a user