Skip to content

feat: back up to S3 using a JS container #15

feat: back up to S3 using a JS container

feat: back up to S3 using a JS container #15

Workflow file for this run

name: PR
on:
pull_request:
concurrency:
# Cancel in progress for PR open and close
group: ${{ github.event.number }}
cancel-in-progress: true
permissions: {}
jobs:
# https://github.com/bcgov/action-builder-ghcr
builds:
name: Builds
permissions:
packages: write
runs-on: ubuntu-24.04
strategy:
matrix:
package: [backups]
timeout-minutes: 10
steps:
- uses: bcgov/action-builder-ghcr@v2.3.0
with:
keep_versions: 50
package: ${{ matrix.package }}
tag: ${{ github.event.number }}
tag_fallback: latest
triggers: ('${{ matrix.package }}/')
results:
name: PR Results
needs: [builds]
if: always()
runs-on: ubuntu-24.04
steps:
- if: contains(needs.*.result, 'failure')||contains(needs.*.result, 'canceled')
run: echo "At least one job has failed." && exit 1
- run: echo "Success!"