Skip to content

Commit

Permalink
un-pin buildx version (badges#10453)
Browse files Browse the repository at this point in the history
  • Loading branch information
chris48s authored Aug 18, 2024
1 parent 4f673dd commit d5bc5ca
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 10 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ jobs:

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
version: v0.9.1

- name: Set Git Short SHA
run: echo "SHORT_SHA=${GITHUB_SHA::7}" >> $GITHUB_ENV
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ jobs:

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
version: v0.9.1

- name: Login to DockerHub
uses: docker/login-action@v3
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/publish-docker-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ jobs:

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
version: v0.9.1

- name: Login to DockerHub
uses: docker/login-action@v3
Expand Down
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20-alpine AS Builder
FROM node:20-alpine AS builder

RUN mkdir -p /usr/src/app
RUN mkdir /usr/src/app/private
Expand Down Expand Up @@ -26,11 +26,11 @@ LABEL version=$version
LABEL fly.version=$version

# Run the server using production configs.
ENV NODE_ENV production
ENV NODE_ENV=production

WORKDIR /usr/src/app
COPY --from=Builder --chown=0:0 /usr/src/app /usr/src/app
COPY --from=builder --chown=0:0 /usr/src/app /usr/src/app

CMD node server
CMD ["node", "server"]

EXPOSE 80 443

0 comments on commit d5bc5ca

Please sign in to comment.