Skip to content

Commit

Permalink
Fixing building docker base
Browse files Browse the repository at this point in the history
  • Loading branch information
ddetommaso committed Dec 16, 2022
1 parent e1f8276 commit 65f48c8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ jobs:
sed -i -r 's/^(PYICUB_BRANCH=).*/\1${{ steps.extract_branch.outputs.branch }}/' .env
sed -i -e "/ICUB_DISTRO=/c\ICUB_DISTRO=$(cut -d'_' -f3 <<<"${{ steps.tag.outputs.tag }}")" .env
cat .env
source .env && docker build docker --build-arg DOCKER_SRC=${DOCKER_SRC} -t ${PJT_DOCKER_IMAGE} && docker push ${PJT_DOCKER_IMAGE}
source .env && docker build docker/frontend -t ${PYICUB_FRONTEND_DOCKER_IMAGE} && docker push ${PYICUB_FRONTEND_DOCKER_IMAGE}
bash .dockyman/build.sh base
bash .dockyman/build.sh distro
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down
8 changes: 8 additions & 0 deletions docker-compose.base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,11 @@ services:
args:
DOCKER_SRC: ${DOCKER_SRC}
RELEASE: ${RELEASE}

pyicub-frontend.base:
image: ${PYICUB_FRONTEND_DOCKER_IMAGE}

build:
context: docker/frontend
args:
RELEASE: ${RELEASE}
2 changes: 2 additions & 0 deletions docker/frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@

FROM node:16

ARG RELEASE=master

RUN mkdir /app
WORKDIR /app

Expand Down

0 comments on commit 65f48c8

Please sign in to comment.