forked from itsToggle/rclone_RD
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
909 changed files
with
158,311 additions
and
63,615 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
name: Docker beta build | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
jobs: | ||
build: | ||
if: github.repository == 'rclone/rclone' | ||
runs-on: ubuntu-latest | ||
name: Build image job | ||
steps: | ||
- name: Checkout master | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Login to Docker Hub | ||
uses: docker/login-action@v3 | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
- name: Extract metadata (tags, labels) for Docker | ||
id: meta | ||
uses: docker/metadata-action@v5 | ||
with: | ||
images: ghcr.io/${{ github.repository }} | ||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v3 | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
- name: Login to GitHub Container Registry | ||
uses: docker/login-action@v3 | ||
with: | ||
registry: ghcr.io | ||
# This is the user that triggered the Workflow. In this case, it will | ||
# either be the user whom created the Release or manually triggered | ||
# the workflow_dispatch. | ||
username: ${{ github.actor }} | ||
# `secrets.GITHUB_TOKEN` is a secret that's automatically generated by | ||
# GitHub Actions at the start of a workflow run to identify the job. | ||
# This is used to authenticate against GitHub Container Registry. | ||
# See https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret | ||
# for more detailed information. | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Build and publish image | ||
uses: docker/build-push-action@v5 | ||
with: | ||
file: Dockerfile | ||
context: . | ||
push: true # push the image to ghcr | ||
tags: | | ||
ghcr.io/rclone/rclone:beta | ||
rclone/rclone:beta | ||
labels: ${{ steps.meta.outputs.labels }} | ||
platforms: linux/amd64,linux/386,linux/arm64,linux/arm/v7,linux/arm/v6 | ||
cache-from: type=gha | ||
cache-to: type=gha,mode=max | ||
provenance: false | ||
# Eventually cache will need to be cleared if builds more frequent than once a week | ||
# https://github.com/docker/build-push-action/issues/252 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: Publish to Winget | ||
on: | ||
release: | ||
types: [released] | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: vedantmgoyal2009/winget-releaser@v2 | ||
with: | ||
identifier: Rclone.Rclone | ||
installers-regex: '-windows-\w+\.zip$' | ||
token: ${{ secrets.WINGET_TOKEN }} |
Oops, something went wrong.