Skip to content

Commit

Permalink
update proxies
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikmonsen committed Nov 6, 2024
1 parent 5ecf14c commit f318741
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}
file: Dockerfile
build-args: |
PROXY=${{ secrets.PROXY }}
HTTP_PROXY=${{ secrets.HTTP_PROXY }}
HTTPS_PROXY=${{ secrets.HTTPS_PROXY }}
deploy-to-stage:
name: Deploy stage environment
Expand Down
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ FROM node:20.17.0-alpine AS base

FROM base AS deps

ARG PROXY
ARG HTTP_PROXY
ARG HTTPS_PROXY

ENV HTTP_PROXY=$PROXY
ENV HTTPS_PROXY=$PROXY
ENV HTTP_PROXY=$HTTP_PROXY
ENV HTTPS_PROXY=$HTTPS_PROXY

RUN apk add --no-cache libc6-compat
WORKDIR /app
Expand Down

0 comments on commit f318741

Please sign in to comment.