Skip to content

Move to GHCR, pin dependencies, fix arm64 image and stale lock, add Renovate - #7

Merged
jterpstra1 merged 3 commits into
mainfrom
update-deps-and-renovate
Oct 27, 2026
Merged

jterpstra1 merged 3 commits into
mainfrom
update-deps-and-renovate

Conversation

@jterpstra1

@jterpstra1 jterpstra1 commented Oct 27, 2026 •

Copy link
Copy Markdown
Owner

What changes

  • Registry. The image is now published to ghcr.io/jterpstra1/docker-s3sync using the workflow's own GITHUB_TOKEN. Docker Hub (jvdgt/docker-s3sync) keeps its old tags but gets no new versions, and the README says so.
  • Base image moves from debian:latest to debian:13-slim, pinned by digest.
  • AWS CLI is pinned to 2.38.6 and downloaded for the platform being built. Until now the arm64 image got the x86_64 CLI and could not sync at all.
  • Lock file bug. run.sh now removes /tmp/aws-s3.lock however a run ends. Before, one failed sync left the lock in place and every later backup exited with "Already running?".
  • Workflow uses current action majors. Pull requests only build, they never log in or push. Images are pushed only for v* tags.
  • Renovate config tracks the base image digest, the AWS CLI version and the actions.

Checked locally

Built the arm64 image: aws --version reports aws-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.0 tag to publish to GHCR, then make the package public if GitHub created it as private.

- 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.
@jterpstra1 jterpstra1 changed the title Pin dependencies, fix arm64 image and stale lock, add Renovate Move to GHCR, pin dependencies, fix arm64 image and stale lock, add Renovate Oct 27, 2026
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.
@jterpstra1
jterpstra1 merged commit fc11192 into main Oct 27, 2026
1 check passed
@jterpstra1
jterpstra1 deleted the update-deps-and-renovate branch October 27, 2026 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant