Skip to content

Commit

Permalink
Feature/x86 image (#349)
Browse files Browse the repository at this point in the history
* remove unused images

Signed-off-by: Masaya Kataoka <[email protected]>

* add linux/amd64 to the platform

Signed-off-by: Masaya Kataoka <[email protected]>

* update base image

Signed-off-by: Masaya Kataoka <[email protected]>

---------

Signed-off-by: Masaya Kataoka <[email protected]>
  • Loading branch information
hakuturu583 authored Aug 17, 2024
1 parent 55e0d12 commit 2037292
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 346 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/docker/dev_container/Dockerfile

This file was deleted.

21 changes: 0 additions & 21 deletions .github/workflows/docker/dev_container/README.md

This file was deleted.

79 changes: 0 additions & 79 deletions .github/workflows/docker/dev_container/action.yaml

This file was deleted.

4 changes: 0 additions & 4 deletions .github/workflows/docker/dev_container/entrypoint.sh

This file was deleted.

4 changes: 0 additions & 4 deletions .github/workflows/docker/dev_container/entrypoint_vnc.sh

This file was deleted.

1 change: 0 additions & 1 deletion .github/workflows/docker/dev_container/tmp/.gitignore

This file was deleted.

110 changes: 0 additions & 110 deletions .github/workflows/docker/l4t_opencv/Dockerfile

This file was deleted.

62 changes: 0 additions & 62 deletions .github/workflows/docker/l4t_opencv/action.yaml

This file was deleted.

4 changes: 3 additions & 1 deletion .github/workflows/docker/wamv/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM docker.io/hakuturu583/cuda_ros:lt4-humble-cuda-12.2.2-devel
ARG BASE_IMAGE=docker.io/hakuturu583/cuda_ros:lt4-humble-cuda-12.2.2-devel

FROM $BASE_IMAGE
SHELL ["/bin/bash", "-c"]

RUN apt-get update && \
Expand Down
14 changes: 12 additions & 2 deletions .github/workflows/docker/wamv/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ inputs:
module:
description: "Software module"
required: true
base_image:
description: "Name of base image"
required: true
platform:
description: "Platform of the image"
required: true

runs:
using: "composite"
Expand All @@ -37,7 +43,9 @@ runs:
cache-from: type=registry,ref=wamvtan/wamv_${{ inputs.module }}:buildcache
cache-to: type=registry,ref=wamvtan/wamv_${{ inputs.module }}:buildcache,mode=max
push: true
platforms: linux/arm64/v8
platforms: ${{ inputs.platform }}
build-args: |
BASE_IMAGE=${{ inputs.base_image }}
- name: Build Docker Image
if: ${{ github.event_name == 'pull_request'}}
uses: docker/build-push-action@v2
Expand All @@ -52,4 +60,6 @@ runs:
no-cache: false
cache-from: type=registry,ref=wamvtan/wamv_${{ inputs.module }}:buildcache
push: false
platforms: linux/arm64/v8
platforms: ${{ inputs.platform }}
build-args: |
BASE_IMAGE=${{ inputs.base_image }}
Loading

0 comments on commit 2037292

Please sign in to comment.