Skip to content

Commit

Permalink
build: use llvm-17 base image correctly for faster docker dev builds
Browse files Browse the repository at this point in the history
Signed-off-by: deadprogram <[email protected]>
  • Loading branch information
deadprogram committed Jan 12, 2024
1 parent d0445d6 commit 2f0f132
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 17 deletions.
16 changes: 1 addition & 15 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: .
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/llvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2f0f132

Please sign in to comment.