Skip to content

Commit

Permalink
humbleビルド
Browse files Browse the repository at this point in the history
  • Loading branch information
HansRobo authored Nov 4, 2024
1 parent d48c21f commit bd3080d
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: build

on:
push:
branches:
- master
workflow_dispatch:
jobs:
build_humble:
name: build humble
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- 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.GH_PAT }}

- name: Build image
uses: docker/build-push-action@v6
with:
context: .
file: ros2-humble/Dockerfile
push: true
tags: ghcr.io/${{ github.repository }}:humble
cache-from: type=gha
cache-to: type=gha,mode=max

0 comments on commit bd3080d

Please sign in to comment.