Check reproducible-build Dockerfile #131
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Check reproducible-build Dockerfile | |
| on: | |
| schedule: | |
| - cron: "0 5 * * *" | |
| permissions: | |
| contents: read # to fetch code (actions/checkout) | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| # gh api repos/actions/checkout/commits/v6 --jq '.sha' | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1 | |
| - name: Build image | |
| uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0 | |
| with: | |
| context: reproducible-builds | |
| load: true | |
| tags: signal-android:latest | |
| cache-from: type=gha | |
| cache-to: type=gha,mode=max | |
| - name: Test build | |
| run: docker run --memory=12g --rm -v "$(pwd)":/project -w /project signal-android:latest ./gradlew --no-daemon --max-workers=1 -Dorg.gradle.jvmargs="-Xmx4g -XX:MaxMetaspaceSize=512m" -Dkotlin.compiler.execution.strategy=in-process bundlePlayProdRelease |