Skip to content

Commit c7c9a76

Browse files
committed
build: add step to build LLVM 17 base image
Signed-off-by: deadprogram <ron@hybridgroup.com>
1 parent 6984af4 commit c7c9a76

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.github/workflows/docker.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,21 @@ jobs:
5454
registry: ghcr.io
5555
username: ${{ github.actor }}
5656
password: ${{ secrets.GITHUB_TOKEN }}
57-
- name: Build and push
57+
- name: Build and push LLVM base image
58+
uses: docker/build-push-action@v5
59+
with:
60+
target: tinygo-llvm-build
61+
context: .
62+
push: true
63+
tags: |
64+
tinygo/llvm-17
65+
tinygo/llvm-17:latest
66+
ghcr.io/tinygo-org/llvm-17
67+
ghcr.io/tinygo-org/llvm-17:latest
68+
labels: ${{ steps.meta.outputs.labels }}
69+
cache-from: type=gha
70+
cache-to: type=gha,mode=max
71+
- name: Build and push tinygo-dev image
5872
uses: docker/build-push-action@v5
5973
with:
6074
context: .

0 commit comments

Comments
 (0)