diff options
author | deadprogram <[email protected]> | 2024-01-04 21:25:59 +0100 |
---|---|---|
committer | Ron Evans <[email protected]> | 2024-01-05 21:13:30 +0100 |
commit | c7c9a76af5546dfe8e4b095445692dedc292ca77 (patch) | |
tree | 85d0c5f4a5cfe9dc2b35b20b87b9854013100f07 | |
parent | 6984af43a08b7fa1c1020700c42ce8c417d1f542 (diff) | |
download | tinygo-c7c9a76af5546dfe8e4b095445692dedc292ca77.tar.gz tinygo-c7c9a76af5546dfe8e4b095445692dedc292ca77.zip |
build: add step to build LLVM 17 base image
Signed-off-by: deadprogram <[email protected]>
-rw-r--r-- | .github/workflows/docker.yml | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 6918cec08..8842678fe 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -54,7 +54,21 @@ jobs: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Build and push + - name: Build and push LLVM base image + uses: docker/build-push-action@v5 + with: + target: tinygo-llvm-build + context: . + push: true + tags: | + tinygo/llvm-17 + tinygo/llvm-17:latest + ghcr.io/tinygo-org/llvm-17 + ghcr.io/tinygo-org/llvm-17:latest + labels: ${{ steps.meta.outputs.labels }} + cache-from: type=gha + cache-to: type=gha,mode=max + - name: Build and push tinygo-dev image uses: docker/build-push-action@v5 with: context: . |