build: add step to build LLVM 17 base image

Signed-off-by: deadprogram <ron@hybridgroup.com>
Этот коммит содержится в:
deadprogram 2024-01-04 21:25:59 +01:00 коммит произвёл Ron Evans
родитель 6984af43a0
коммит c7c9a76af5

16
.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: .