Skip to content

PostgreSQL backup tool with Point-In-Time-Recovery and restore verification

FEATURE (ci \ cd): Add publishing dev image

Rostislav Dugin57a75918e467
diff --git a/.github/workflows/ci-release.yml b/.github/workflows/ci-release.yml
index fcdda68c..b460a126 100644
--- a/.github/workflows/ci-release.yml
+++ b/.github/workflows/ci-release.yml
@@ -537,6 +537,43 @@ jobs:
echo "Cleanup complete"
+ build-dev:
+ runs-on: self-hosted
+ needs: [test-backend, test-frontend, test-agent, e2e-agent, e2e-agent-backup-restore]
+ if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/develop' }}
+ steps:
+ - name: Clean workspace
+ run: |
+ sudo rm -rf "$GITHUB_WORKSPACE"/* || true
+ sudo rm -rf "$GITHUB_WORKSPACE"/.* || true
+
+ - name: Check out code
+ uses: actions/checkout@v4
+
+ - name: Set up QEMU (enables multi-arch emulation)
+ uses: docker/setup-qemu-action@v3
+
+ - name: Set up Docker Buildx
+ uses: docker/setup-buildx-action@v3
+
+ - name: Log in to Docker Hub
+ uses: docker/login-action@v3
+ with:
+ username: ${{ secrets.DOCKERHUB_USERNAME }}
+ password: ${{ secrets.DOCKERHUB_TOKEN }}
+
+ - name: Build and push dev image
+ uses: docker/build-push-action@v5
+ with:
+ context: .
+ push: true
+ platforms: linux/amd64,linux/arm64
+ build-args: |
+ APP_VERSION=dev-${{ github.sha }}
+ tags: |
+ databasus/databasus-dev:latest
+ databasus/databasus-dev:${{ github.sha }}
+
determine-version:
runs-on: self-hosted
container: