diff --git a/.github/workflows/manual-build.yml b/.github/workflows/manual-build.yml index 5eb59c2..dbbf15e 100644 --- a/.github/workflows/manual-build.yml +++ b/.github/workflows/manual-build.yml @@ -9,7 +9,7 @@ on: default: 'linux/amd64,linux/arm64/v8' jobs: build-push: - uses: kbase/.github/.github/workflows/reusable_build-push.yml@multi-target + uses: kbase/.github/.github/workflows/reusable_build-push.yml@develop with: name: '${{ github.event.repository.name }}-develop' tags: br-${{ github.ref_name }} diff --git a/.github/workflows/pr_build.yml b/.github/workflows/pr_build.yml index b399fa4..d6cd055 100644 --- a/.github/workflows/pr_build.yml +++ b/.github/workflows/pr_build.yml @@ -14,35 +14,35 @@ on: jobs: build-develop-open: if: github.base_ref == 'develop' && github.event.pull_request.merged == false - uses: kbase/.github/.github/workflows/reusable_build.yml@multi-target - with: - platforms: "linux/amd64,linux/arm64/v8" + uses: kbase/.github/.github/workflows/reusable_build.yml@develop +# with: +# platforms: "linux/amd64,linux/arm64/v8" secrets: inherit build-develop-merge: if: github.base_ref == 'develop' && github.event.pull_request.merged == true - uses: kbase/.github/.github/workflows/reusable_build-push.yml@multi-target + uses: kbase/.github/.github/workflows/reusable_build-push.yml@develop with: name: '${{ github.event.repository.name }}-develop' tags: pr-${{ github.event.number }},latest - platforms: "linux/amd64,linux/arm64/v8" +# platforms: "linux/amd64,linux/arm64/v8" secrets: inherit build-main-open: if: (github.base_ref == 'main' || github.base_ref == 'master') && github.event.pull_request.merged == false - uses: kbase/.github/.github/workflows/reusable_build-push.yml@multi-target + uses: kbase/.github/.github/workflows/reusable_build-push.yml@develop with: name: '${{ github.event.repository.name }}' tags: pr-${{ github.event.number }} - platforms: "linux/amd64,linux/arm64/v8" +# platforms: "linux/amd64,linux/arm64/v8" secrets: inherit build-main-merge: if: (github.base_ref == 'main' || github.base_ref == 'master') && github.event.pull_request.merged == true - uses: kbase/.github/.github/workflows/reusable_build-push.yml@multi-target + uses: kbase/.github/.github/workflows/reusable_build-push.yml@develop with: name: '${{ github.event.repository.name }}' tags: pr-${{ github.event.number }},latest-rc - platforms: "linux/amd64,linux/arm64/v8" +# platforms: "linux/amd64,linux/arm64/v8" secrets: inherit trivy-scans: if: (github.base_ref == 'develop' || github.base_ref == 'main' || github.base_ref == 'master' ) && github.event.pull_request.merged == false - uses: kbase/.github/.github/workflows/reusable_trivy-scans.yml@multi-target + uses: kbase/.github/.github/workflows/reusable_trivy-scans.yml@develop secrets: inherit diff --git a/.github/workflows/release-main.yml b/.github/workflows/release-main.yml index 66bf1ce..be252a3 100644 --- a/.github/workflows/release-main.yml +++ b/.github/workflows/release-main.yml @@ -8,17 +8,17 @@ on: types: [ published ] jobs: check-source-branch: - uses: kbase/.github/.github/workflows/reusable_validate-branch.yml@multi-target + uses: kbase/.github/.github/workflows/reusable_validate-branch.yml@develop with: build_branch: '${{ github.event.release.target_commitish }}' validate-release-tag: needs: check-source-branch - uses: kbase/.github/.github/workflows/reusable_validate-release-tag.yml@multi-target + uses: kbase/.github/.github/workflows/reusable_validate-release-tag.yml@develop with: release_tag: '${{ github.event.release.tag_name }}' build-push: needs: validate-release-tag - uses: kbase/.github/.github/workflows/reusable_build-push.yml@multi-target + uses: kbase/.github/.github/workflows/reusable_build-push.yml@develop with: name: '${{ github.event.repository.name }}' tags: '${{ github.event.release.tag_name }},latest' diff --git a/Readme.md b/Readme.md index 5c0dd12..85b21a5 100644 --- a/Readme.md +++ b/Readme.md @@ -1,6 +1,6 @@ ### db_zip2cloud -This is a container for backing up databases such as ArangoDB, compressing the backups and then synchronizing a remote S3 bucket against a local archive of the compressed backups +This is a simple cron container for backing up databases such as ArangoDB, compressing the backups and then synchronizing a remote S3 bucket against a local archive of the compressed backups ## Operation @@ -20,4 +20,4 @@ The following environment variables need to be passed into the runtime environme The following volumes need to be mounted into the running container: * /dump/ - Directory either containing existing DB dumps or which will be the destination for a DB dump. -* /zip/ - Directory for writing the compressed/encrypted DB dumps before copying to the S3 remote \ No newline at end of file +* /zip/ - Directory for writing the compressed/encrypted DB dumps before copying to the S3 remote