Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump: Bump rclone to 1.60.1, bump alpine to 3.17 #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM alpine:3.11
FROM alpine:3.17

LABEL maintainer="Drew Short <[email protected]>"

ARG rclone_version=v1.50.2
ARG rclone_version=v1.60.1
ARG rclone_arch=amd64

RUN apk update \
Expand All @@ -24,4 +24,4 @@ COPY ./assets/* /opt/resource/

RUN chmod 755 /opt/resource/check \
&& chmod +x /opt/resource/in \
&& chmod +x /opt/resource/out
&& chmod +x /opt/resource/out
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ for tagged image versions available.
```bash
resource_types:
- name: rclone
type: docker-image
type: registry-image
source:
repository: sothr/concourse-rclone-resource
repository: docker.io/sothr/concourse-rclone-resource
tag: latest
```

Expand Down Expand Up @@ -115,4 +115,4 @@ Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.
4 changes: 2 additions & 2 deletions assets/out
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ for destination in $destinations; do
fi
echo "Target: ${rclone_target}"
# shellcheck disable=2086
rclone ${rclone_command} "${rclone_source}" "${rclone_target}" --size-only --progress --stats=2s ${rclone_args}
rclone ${rclone_command} "${rclone_source}" "${rclone_target}" --progress --stats=2s ${rclone_args}
copy_rc=$?
if [[ -n "${rclone_sleep}" ]]; then
sleep ${rclone_sleep}
Expand Down Expand Up @@ -206,4 +206,4 @@ else
digest: $( echo -n "sha256:${sha256}" | jq -R . )
}
}" >&3
fi
fi