Skip to content

Commit

Permalink
fix(CI): BACKEND_URL in build stage for frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
thelissimus committed Dec 26, 2023
1 parent b235b4e commit df2bbf9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,5 @@ jobs:
file: Dockerfile.frontend
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/hs-challenge-frontend:latest
build-args: |
BACKEND_URL=${{ secrets.BACKEND_URL }}
2 changes: 2 additions & 0 deletions Dockerfile.frontend
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM theasp/clojurescript-nodejs:shadow-cljs-alpine AS build
ARG BACKEND_URL
ENV BACKEND_URL=${BACKEND_URL}
WORKDIR /app
RUN apk --no-cache add leiningen
COPY project.clj shadow-cljs.edn /app/
Expand Down

0 comments on commit df2bbf9

Please sign in to comment.