PostgreSQL backup tool with Point-In-Time-Recovery and restore verification
TypeScript backupbackupsdatabasedatabase-backupdevopsdockergolangkubernetesmariadbmongodbmysqlpgpostgrespostgresqls3self-hostedsystem-administrationtoolsweb-ui
FEATURE (image): Add mirroring to GHCR
Rostislav Dugin0f6a828a0ce8
diff --git a/.github/workflows/ci-release.yml b/.github/workflows/ci-release.ymlindex 51442c81..7e179cae 100644--- a/.github/workflows/ci-release.yml+++ b/.github/workflows/ci-release.yml@@ -786,6 +786,7 @@ jobs:if: ${{ needs.determine-version.outputs.should_release == 'true' }}permissions:contents: write+ packages: writesteps:- name: Clean workspacerun: |@@ -807,6 +808,15 @@ jobs:username: ${{ secrets.DOCKERHUB_USERNAME }}password: ${{ secrets.DOCKERHUB_TOKEN }}+ - name: Log in to GHCR+ uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0+ with:+ registry: ghcr.io+ username: ${{ github.actor }}+ password: ${{ secrets.GITHUB_TOKEN }}++ # Both registries get the same digests from this one build, so the+ # ghcr.io mirror cannot drift from the released image.- name: Build and push with version tagsuses: docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 # v5.4.0with:@@ -820,6 +830,9 @@ jobs:databasus/databasus:latestdatabasus/databasus:v${{ needs.determine-version.outputs.new_version }}databasus/databasus:${{ github.sha }}+ ghcr.io/databasus/databasus:latest+ ghcr.io/databasus/databasus:v${{ needs.determine-version.outputs.new_version }}+ ghcr.io/databasus/databasus:${{ github.sha }}push-verification-image:runs-on: ubuntu-latest@@ -972,6 +985,7 @@ jobs:# Add Docker image infoCHANGELOG="${CHANGELOG}### 🐳 Docker${NL}"CHANGELOG="${CHANGELOG}- **Image**: \`databasus/databasus:v${NEW_VERSION}\`${NL}"+ CHANGELOG="${CHANGELOG}- **Mirror**: \`ghcr.io/databasus/databasus:v${NEW_VERSION}\`${NL}"CHANGELOG="${CHANGELOG}- **Platforms**: linux/amd64, linux/arm64${NL}"# Use a random delimiter so any literal "EOF" line inside thediff --git a/README.md b/README.mdindex eb35d0d5..15fef6a3 100644--- a/README.md+++ b/README.md@@ -156,6 +156,8 @@ docker run -d \databasus/databasus:latest```+_The same image lives on GitHub's registry — use `ghcr.io/databasus/databasus:latest` if Docker Hub rate-limits your pull._+This single command will:- ✅ Start Databasus@@ -194,6 +196,8 @@ docker compose up -dFor Kubernetes deployments, install directly from the OCI registry.+_Add `--set image.repository=ghcr.io/databasus/databasus` to any of the commands below to pull image from GHCR instead of Docker Hub._+**With ClusterIP + port-forward (development/testing):**```bash