"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
build: fix docker plugin build - fixes #8394
Anagh Kumar Baranwal6560ea9bdc51
diff --git a/.github/workflows/build_publish_docker_plugin.yml b/.github/workflows/build_publish_docker_plugin.ymlindex 4056cb04b..42af5265c 100644--- a/.github/workflows/build_publish_docker_plugin.yml+++ b/.github/workflows/build_publish_docker_plugin.yml@@ -7,39 +7,43 @@ name: Release Build for Docker Pluginon:release:types: [published]+ workflow_dispatch:+ inputs:+ manual:+ description: Manual run (bypass default conditions)+ type: boolean+ default: truejobs:-- build_docker_volume_plugin:- if: github.repository == 'rclone/rclone'- needs: build- runs-on: ubuntu-latest- name: Build docker plugin job- steps:- - name: Free some space- shell: bash- run: |- df -h .- # Remove android SDK- sudo rm -rf /usr/local/lib/android || true- # Remove .net runtime- sudo rm -rf /usr/share/dotnet || true- df -h .- - name: Checkout master- uses: actions/checkout@v4- with:- fetch-depth: 0- - name: Build and publish docker plugin- shell: bash- run: |- VER=${GITHUB_REF#refs/tags/}- PLUGIN_USER=rclone- docker login --username ${{ secrets.DOCKER_HUB_USER }} \- --password-stdin <<< "${{ secrets.DOCKER_HUB_PASSWORD }}"- for PLUGIN_ARCH in amd64 arm64 arm/v7 arm/v6 ;do- export PLUGIN_USER PLUGIN_ARCH- make docker-plugin PLUGIN_TAG=${PLUGIN_ARCH/\//-}- make docker-plugin PLUGIN_TAG=${PLUGIN_ARCH/\//-}-${VER#v}- done- make docker-plugin PLUGIN_ARCH=amd64 PLUGIN_TAG=latest- make docker-plugin PLUGIN_ARCH=amd64 PLUGIN_TAG=${VER#v}+ build_docker_volume_plugin:+ if: inputs.manual || github.repository == 'rclone/rclone'+ name: Build docker plugin job+ runs-on: ubuntu-latest+ steps:+ - name: Free some space+ shell: bash+ run: |+ df -h .+ # Remove android SDK+ sudo rm -rf /usr/local/lib/android || true+ # Remove .net runtime+ sudo rm -rf /usr/share/dotnet || true+ df -h .+ - name: Checkout master+ uses: actions/checkout@v4+ with:+ fetch-depth: 0+ - name: Build and publish docker plugin+ shell: bash+ run: |+ VER=${GITHUB_REF#refs/tags/}+ PLUGIN_USER=rclone+ docker login --username ${{ secrets.DOCKER_HUB_USER }} \+ --password-stdin <<< "${{ secrets.DOCKER_HUB_PASSWORD }}"+ for PLUGIN_ARCH in amd64 arm64 arm/v7 arm/v6 ;do+ export PLUGIN_USER PLUGIN_ARCH+ make docker-plugin PLUGIN_TAG=${PLUGIN_ARCH/\//-}+ make docker-plugin PLUGIN_TAG=${PLUGIN_ARCH/\//-}-${VER#v}+ done+ make docker-plugin PLUGIN_ARCH=amd64 PLUGIN_TAG=latest+ make docker-plugin PLUGIN_ARCH=amd64 PLUGIN_TAG=${VER#v}