Skip to content

Commit 9c77a38

Browse files
committed
build: use llvm-17 base image correctly for faster docker dev builds
Signed-off-by: deadprogram <ron@hybridgroup.com>
1 parent d0445d6 commit 9c77a38

File tree

2 files changed

+3
-17
lines changed

2 files changed

+3
-17
lines changed

.github/workflows/docker.yml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -54,21 +54,7 @@ jobs:
5454
registry: ghcr.io
5555
username: ${{ github.actor }}
5656
password: ${{ secrets.GITHUB_TOKEN }}
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
57+
- name: Build and push
7258
uses: docker/build-push-action@v5
7359
with:
7460
context: .

.github/workflows/llvm.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ jobs:
3535
uses: docker/metadata-action@v5
3636
with:
3737
images: |
38-
tinygo/llvm-16
39-
ghcr.io/${{ github.repository_owner }}/llvm-16
38+
tinygo/llvm-17
39+
ghcr.io/${{ github.repository_owner }}/llvm-17
4040
tags: |
4141
type=sha,format=long
4242
type=raw,value=latest

0 commit comments

Comments
 (0)