v1.0.0 #28
|
@ -60,7 +60,11 @@ jobs:
|
|||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
- name: Login to fai.st docker registry
|
||||
run: docker login git.fai.st -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASS }}
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: git.fai.st
|
||||
username: ${{ secrets.DOCKER_USER }}
|
||||
password: ${{ secrets.DOCKER_PASS }}
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
|
|
|
@ -11,7 +11,7 @@ FROM base AS install
|
|||
|
||||
# install with --production (exclude devDependencies)
|
||||
RUN mkdir -p /temp/prod
|
||||
COPY package.json bun.lockb /temp/prod/
|
||||
COPY package.json yarn.lock /temp/prod/
|
||||
RUN cd /temp/prod && bun install --production
|
||||
|
||||
# Copy production dependencies and source code into final image
|
||||
|
|
Loading…
Reference in New Issue