Repository navigation
Move to GHCR, pin dependencies, fix arm64 image and stale lock, add Renovate - #7
Merged
Merged
Conversation
- Base image: debian:latest -> debian:13-slim, pinned by digest - AWS CLI: pinned to 2.38.6 and downloaded for the target architecture. The arm64 image used to get the x86_64 CLI, which cannot run there. - run.sh: remove the lock file on any exit. A failed sync used to leave it behind, so every later backup refused to start. - Workflow: current action majors, build (without pushing) on pull requests so dependency updates are tested - renovate.json: tracks the base image, AWS CLI and actions
The image moves to ghcr.io/jterpstra1/docker-s3sync, pushed with the workflow's own GITHUB_TOKEN, so the Docker Hub secrets are no longer needed. Existing Docker Hub tags stay but get no new versions.
Quick start, Compose example, settings table with defaults, how scheduling and locking behave, a minimal IAM policy, and notes on the Unraid template and the Docker Hub move. Fixes the cron example, which ran every minute between midnight and 1 AM.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes
ghcr.io/jterpstra1/docker-s3syncusing the workflow's ownGITHUB_TOKEN. Docker Hub (jvdgt/docker-s3sync) keeps its old tags but gets no new versions, and the README says so.debian:latesttodebian:13-slim, pinned by digest.run.shnow removes/tmp/aws-s3.lockhowever a run ends. Before, one failed sync left the lock in place and every later backup exited with "Already running?".v*tags.Checked locally
Built the arm64 image:
aws --versionreportsaws-cli/2.38.6 ... exe/aarch64. Ran a backup against a nonexistent bucket: it fails, the lock is gone, and a second run starts normally.After merging
Push a
v0.1.0tag to publish to GHCR, then make the package public if GitHub created it as private.