ConsaiVisualizerWrapperを削除してConsaiVisualizerBufferへ (#630) #223
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: docker build | |
on: | |
push: | |
branches: | |
- develop | |
workflow_dispatch: | |
jobs: | |
build_base: | |
name: build base image | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Set up buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build image | |
if: steps.check_image.outputs.GITHUB_OUTPUT == ${{ steps.extract_dependencies.outputs.rosdep_checksum }} | |
uses: docker/build-push-action@v5 | |
with: | |
context: . | |
file: docker/base/Dockerfile | |
push: true | |
tags: ghcr.io/${{ github.repository }}:base | |
cache-from: type=gha | |
cache-to: type=gha,mode=max | |
build_ccache: | |
name: build ccache image | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Set up buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build image | |
if: steps.check_image.outputs.GITHUB_OUTPUT == ${{ steps.extract_dependencies.outputs.rosdep_checksum }} | |
uses: docker/build-push-action@v5 | |
with: | |
context: . | |
file: docker/ccache/Dockerfile | |
push: true | |
tags: ghcr.io/${{ github.repository }}:ccache | |
cache-from: type=gha | |
cache-to: type=gha,mode=max | |
build_prebuilt: | |
name: build prebuilt image | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Set up buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build image | |
if: steps.check_image.outputs.GITHUB_OUTPUT == ${{ steps.extract_dependencies.outputs.rosdep_checksum }} | |
uses: docker/build-push-action@v5 | |
with: | |
context: . | |
file: docker/prebuilt/Dockerfile | |
push: true | |
tags: ghcr.io/${{ github.repository }}:prebuilt | |
cache-from: type=gha | |
cache-to: type=gha,mode=max |