Skip to content

Commit

Permalink
fix: changed context from path
Browse files Browse the repository at this point in the history
  • Loading branch information
JuanPedroGHM committed Jul 10, 2023
1 parent 6590bd7 commit 6a5e5c1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ jobs:
name: Build
uses: docker/build-push-action@v4
with:
context: docker/
file: Dockerfile.release
file: docker/Dockerfile.release
build-args: |
HEAT_VERSION=${{ inputs.heat_version }}
PYTORCH_IMG=${{ inputs.pytorch_img}}
Expand All @@ -60,8 +59,7 @@ jobs:
name: Build and push
uses: docker/build-push-action@v4
with:
context: docker/
file: Dockerfile.release
file: docker/Dockerfile.release
build-args: |
HEAT_VERSION=${{ inputs.heat_version }}
PYTORCH_IMG=${{ inputs.pytorch_img}}
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.release
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ARG HEAT_VERSION=1.3.0
ARG PYTORCH_IMG=23.05-py3

FROM nvcr.io/nvidia/pytorch:${PYTORCH_IMG} AS base
COPY ./tzdata.seed /tmp/tzdata.seed
COPY ./docker/tzdata.seed /tmp/tzdata.seed
RUN debconf-set-selections /tmp/tzdata.seed
RUN apt update && DEBIAN_FRONTEND=noninteractive apt install -y build-essential openssh-client python3-dev git && apt clean && rm -rf /var/lib/apt/lists/*

Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.source
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ARG PYTORCH_IMG=23.05-py3
ARG HEAT_BRANCH=main

FROM nvcr.io/nvidia/pytorch:${PYTORCH_IMG} AS base
COPY ./tzdata.seed /tmp/tzdata.seed
COPY ./docker/tzdata.seed /tmp/tzdata.seed
RUN debconf-set-selections /tmp/tzdata.seed
RUN apt update && DEBIAN_FRONTEND=noninteractive apt install -y build-essential openssh-client python3-dev git && apt clean && rm -rf /var/lib/apt/lists/*

Expand Down

0 comments on commit 6a5e5c1

Please sign in to comment.