ci: publish the Lite image without source maps until its build stops stalling on the runner

This commit is contained in:
Linus Rath
2026-11-01 05:52:27 +01:00
parent 0ca60ee5d7
commit 867c734ca5
+4 -21
View File
@@ -178,30 +178,13 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}
build-args: |
GIT_COMMIT=${{ github.sha }}
BULWARK_SOURCE_MAPS=1
cache-from: type=gha,scope=lite
cache-to: type=gha,mode=max,scope=lite
# The same build again, a cache hit, for the stage that holds only the
# source maps; the image never has them. One export for both platforms.
# https://bulwarkmail.org/docs/deployment/monitoring
- name: Export source maps
uses: docker/build-push-action@v7
with:
context: .
file: Dockerfile.lite
platforms: linux/amd64
target: sourcemaps
build-args: |
GIT_COMMIT=${{ github.sha }}
BULWARK_SOURCE_MAPS=1
outputs: type=local,dest=sourcemaps
cache-from: type=gha,scope=lite
- name: Upload source maps to Bugsink
env:
BUGSINK_AUTH_TOKEN: ${{ secrets.BUGSINK_AUTH_TOKEN }}
run: bash scripts/upload-sourcemaps.sh sourcemaps
# No source maps for this image yet: with BULWARK_SOURCE_MAPS=1 the
# multi-platform build stalled on the runner after the Lite build step
# (twice, 2026-11-01), though it finishes locally. The static Lite zips
# (static-lite.yml) still upload theirs.
- name: Inspect image
run: docker buildx imagetools inspect ${{ env.IMAGE_NAME }}:${{ steps.meta.outputs.version }}