Skip to content

Commit

Permalink
Use current working dir.
Browse files Browse the repository at this point in the history
  • Loading branch information
floitsch committed Jun 28, 2024
1 parent 6239f68 commit 32f779d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 12 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ jobs:
github.event_name == 'release' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
context: .
build-args: |
${{ env.BUILD_ARGS }}
18 changes: 6 additions & 12 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,12 @@ ARG WEB_TPKG_VERSION

COPY config/config.yaml /config/config.yaml
COPY build/registry_container /registry_container
copy build/web_toitdocs/$WEB_TOITDOCS_VERSION /web_toitdocs
copy build/sdk/$SDK_VERSION /sdk
copy build/web_tpkg/$WEB_TPKG_VERSION /web_tpkg
COPY build/web_toitdocs/$WEB_TOITDOCS_VERSION /web_toitdocs
COPY build/sdk/$SDK_VERSION /sdk
COPY build/web_tpkg/$WEB_TPKG_VERSION /web_tpkg

ENV SDK_PATH /sdk
ENV TOITDOCS_VIEWER_PATH /web_toitdocs
ENV TPKG_PATH /web_tpkg

ENV SDK_PATH /sdk
ENV TOITDOCS_VIEWER_PATH /web_toitdocs

ENV SDK_PATH /sdk
ENV TOITDOCS_VIEWER_PATH /web_toitdocs
ENV SDK_PATH=/sdk
ENV TOITDOCS_VIEWER_PATH=/web_toitdocs
ENV TPKG_PATH=/web_tpkg

ENTRYPOINT ["/registry_container"]

0 comments on commit 32f779d

Please sign in to comment.