github.com/letsencrypt/boulder@v0.20251208.0/.github/workflows/try-release.yml (about) 1 # Try building the Boulder Debian package on every PR and push to main. This is 2 # to make sure the actual release job will succeed when we tag a release. 3 # 4 # Keep the GO_VERSION matrix and the container-building steps in sync with 5 # release.yml. 6 name: Try release 7 on: 8 push: 9 branches: [main] 10 pull_request: 11 branches: [main] 12 workflow_dispatch: 13 14 permissions: 15 contents: read 16 17 jobs: 18 try-release: 19 strategy: 20 fail-fast: false 21 matrix: 22 GO_VERSION: 23 - "1.25.5" 24 runs-on: ubuntu-24.04 25 steps: 26 - uses: actions/checkout@v4 27 with: 28 persist-credentials: false 29 30 - name: Build Boulder container and .deb 31 id: build 32 env: 33 GO_VERSION: ${{ matrix.GO_VERSION }} 34 run: ./tools/container-build.sh 35 36 - name: Compute checksums 37 id: checksums 38 # The files listed on this line must be identical to the files uploaded 39 # in the last step of the real release action. 40 run: sha256sum boulder*.deb boulder*.tar.gz >| boulder-${{ matrix.GO_VERSION }}.$(date +%s)-$(git rev-parse --short=8 HEAD).checksums.txt 41 42 - name: List files 43 id: files 44 run: ls boulder*.deb boulder*.tar.gz boulder*.checksums.txt 45 46 - name: Show checksums 47 id: check 48 run: cat boulder*.checksums.txt 49 50 - name: Build ct-test-srv container 51 run: docker buildx build . --build-arg "GO_VERSION=${{ matrix.GO_VERSION }}" -f test/ct-test-srv/Dockerfile -t "ghcr.io/letsencrypt/ct-test-srv:${{ github.sha }}-go${{ matrix.GO_VERSION }}"