Skip to content

Commit

Permalink
ci: don't use cache and docker/build-push-action to build Docker. Use…
Browse files Browse the repository at this point in the history
… simple Docker command instead

Signed-off-by: takeshi.iwanari <[email protected]>
  • Loading branch information
takeshi-iwanari committed Oct 3, 2023
1 parent 2f8f5ca commit a213410
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions .github/workflows/build_autoware.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,7 @@ jobs:
- name: Check out repository
uses: actions/checkout@v4

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3

- name: Update Docker image
run: docker pull osrf/ros:humble-desktop

- name: Build and push
id: docker_build
uses: docker/build-push-action@v5
with:
context: ./
file: ./docker/build_autoware.dockerfile
push: false
tags: caret/caret_autoware:latest
- name: Docker Build
run: |
docker pull osrf/ros:humble-desktop
docker image build --no-cache=true -t caret/caret_autoware:latest -f ./docker/build_autoware.dockerfile ./docker

0 comments on commit a213410

Please sign in to comment.