aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authordeadprogram <[email protected]>2024-01-12 15:59:33 +0100
committerRon Evans <[email protected]>2024-01-12 19:23:33 +0100
commit9c77a383584b983f424b510cb4d77a6be53cfeb2 (patch)
treee9d54b7baf59660d6909b0a3a70264b940d73303 /.github
parentd0445d6f839f4cb3139c1f2ad82c1b82b87ce7b6 (diff)
downloadtinygo-9c77a383584b983f424b510cb4d77a6be53cfeb2.tar.gz
tinygo-9c77a383584b983f424b510cb4d77a6be53cfeb2.zip
build: use llvm-17 base image correctly for faster docker dev builds
Signed-off-by: deadprogram <[email protected]>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/docker.yml16
-rw-r--r--.github/workflows/llvm.yml4
2 files changed, 3 insertions, 17 deletions
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
index 8842678fe..6918cec08 100644
--- a/.github/workflows/docker.yml
+++ b/.github/workflows/docker.yml
@@ -54,21 +54,7 @@ jobs:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- - 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
+ - name: Build and push
uses: docker/build-push-action@v5
with:
context: .
diff --git a/.github/workflows/llvm.yml b/.github/workflows/llvm.yml
index 701438ee7..d7fd574df 100644
--- a/.github/workflows/llvm.yml
+++ b/.github/workflows/llvm.yml
@@ -35,8 +35,8 @@ jobs:
uses: docker/metadata-action@v5
with:
images: |
- tinygo/llvm-16
- ghcr.io/${{ github.repository_owner }}/llvm-16
+ tinygo/llvm-17
+ ghcr.io/${{ github.repository_owner }}/llvm-17
tags: |
type=sha,format=long
type=raw,value=latest