seems to work on the host but fails on the next step so i fixed that one
This commit is contained in:
parent
88ca6bc770
commit
c75e92427f
|
@ -60,7 +60,11 @@ jobs:
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v2
|
uses: docker/setup-buildx-action@v2
|
||||||
- name: Login to fai.st docker registry
|
- 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
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v4
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -11,7 +11,7 @@ FROM base AS install
|
||||||
|
|
||||||
# install with --production (exclude devDependencies)
|
# install with --production (exclude devDependencies)
|
||||||
RUN mkdir -p /temp/prod
|
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
|
RUN cd /temp/prod && bun install --production
|
||||||
|
|
||||||
# Copy production dependencies and source code into final image
|
# Copy production dependencies and source code into final image
|
||||||
|
|
Loading…
Reference in New Issue