This repository has been archived by the owner on Oct 4, 2024. It is now read-only.
Build Docker toolchain #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Docker toolchain | |
on: | |
- workflow_dispatch | |
jobs: | |
publish_docker_image: | |
name: Build Docker toolchain | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
include: | |
- platform: win | |
steps: | |
- name: Login to Docker Hub | |
uses: docker/login-action@v1 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_PASSWORD }} | |
- name: Install dependencies | |
uses: taiki-e/install-action@just | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
submodules: 'true' | |
- name: Build Docker image (${{ matrix.platform }}) | |
run: | | |
just image-${{ matrix.platform }} | |
just push-image-${{ matrix.platform }} |