Skip to content

Commit

Permalink
build args
Browse files Browse the repository at this point in the history
  • Loading branch information
th0rn0 committed Apr 25, 2024
1 parent b0902fa commit 4813428
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
build-args: |
"API_ENDPOINT=${{ secrets.API_ENDPOINT }}"
file: resources/docker/ui/Dockerfile
platforms: linux/amd64,linux/arm64
push: true
Expand Down
3 changes: 3 additions & 0 deletions resources/docker/ui/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
FROM node:21-alpine3.18
LABEL maintainer="Thornton Phillis ([email protected])"

ARG API_ENDPOINT
ENV API_ENDPOINT ${API_ENDPOINT}

WORKDIR /frontend

COPY ui/ .
Expand Down

0 comments on commit 4813428

Please sign in to comment.