Skip to content

Commit

Permalink
update env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Sarmiento committed Sep 23, 2023
1 parent bb99d44 commit 28a7a70
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 76 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -351,10 +351,10 @@ jobs:
- name: x64 build
run: go build -v -tags android -trimpath -ldflags '-s -X github.com/rclone/rclone/fs.Version='${VERSION} -o build/rclone-android-${RCLONE_NDK_VERSION}-x64 .

- name: Upload artifacts
run: |
make ci_upload
env:
RCLONE_CONFIG_PASS: ${{ secrets.RCLONE_CONFIG_PASS }}
# Upload artifacts if not a PR && not a fork
if: env.RCLONE_CONFIG_PASS != '' && github.head_ref == '' && github.repository == 'rclone/rclone'
# - name: Upload artifacts
# run: |
# make ci_upload
# env:
# RCLONE_CONFIG_PASS: ${{ secrets.RCLONE_CONFIG_PASS }}
# # Upload artifacts if not a PR && not a fork
# if: env.RCLONE_CONFIG_PASS != '' && github.head_ref == '' && github.repository == 'rclone/rclone'
61 changes: 0 additions & 61 deletions .github/workflows/build_publish_beta_docker_image.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/build_publish_docker_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ jobs:
imageName: rclone_rd
platform: linux/amd64,linux/386,linux/arm64,linux/arm/v7,linux/arm/v6
publish: true
dockerHubUser: ${{ secrets.DOCKER_HUB_USER }}
dockerHubPassword: ${{ secrets.DOCKER_HUB_PASSWORD }}
dockerHubUser: ${{ secrets.DOCKERHUB_USERNAME }}
dockerHubPassword: ${{ secrets.DOCKERHUB_TOKEN }}
12 changes: 6 additions & 6 deletions .github/workflows/build_publish_release_docker_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ jobs:
uses: ilteoood/[email protected]
with:
tag: latest,${{ steps.actual_patch_version.outputs.ACTUAL_PATCH_VERSION }},${{ steps.actual_minor_version.outputs.ACTUAL_MINOR_VERSION }},${{ steps.actual_major_version.outputs.ACTUAL_MAJOR_VERSION }}
imageName: itstoggle/rclone_rd
imageName: debridmediamanager/rclone_rd
platform: linux/amd64,linux/386,linux/arm64,linux/arm/v7,linux/arm/v6
publish: true
dockerHubUser: ${{ secrets.DOCKER_HUB_USER }}
dockerHubPassword: ${{ secrets.DOCKER_HUB_PASSWORD }}
dockerHubUser: ${{ secrets.DOCKERHUB_USERNAME }}
dockerHubPassword: ${{ secrets.DOCKERHUB_TOKEN }}

build_docker_volume_plugin:
if: github.repository == 'rclone/rclone' || 1 == 1
Expand All @@ -52,9 +52,9 @@ jobs:
shell: bash
run: |
VER=${GITHUB_REF#refs/tags/}
PLUGIN_USER=itstoggle
docker login --username ${{ secrets.DOCKER_HUB_USER }} \
--password-stdin <<< "${{ secrets.DOCKER_HUB_PASSWORD }}"
PLUGIN_USER=debridmediamanager
docker login --username ${{ secrets.DOCKERHUB_USERNAME }} \
--password-stdin <<< "${{ secrets.DOCKERHUB_TOKEN }}"
for PLUGIN_ARCH in amd64 arm64 arm/v7 arm/v6 ;do
export PLUGIN_USER PLUGIN_ARCH
make docker-plugin PLUGIN_TAG=${PLUGIN_ARCH/\//-}
Expand Down

0 comments on commit 28a7a70

Please sign in to comment.