Skip to content

Commit

Permalink
chore: create image script
Browse files Browse the repository at this point in the history
  • Loading branch information
0xzio committed Apr 23, 2024
1 parent c45b2bf commit c0d0115
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 70 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/create-images.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Build and Push Docker Image

on:
push:
branches:
- main

jobs:
build-and-push:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- uses: mr-smithers-excellent/docker-build-push@v6
with:
image: docker-hub-repo/image-name
tags: postgresql-latest
registry: docker.io
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}

2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ ENV DATABASE_URL=${DATABASE_URL}
ARG NEXT_PUBLIC_DEPLOY_MODE=SELF_HOSTED

RUN turbo run build --filter=@penx/db
RUN turbo build --filter=web...
RUN turbo run build --filter=web...

FROM base AS runner
WORKDIR /app
Expand Down
65 changes: 0 additions & 65 deletions apps/web/src/pages/cli-login.tsx

This file was deleted.

8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c0d0115

Please sign in to comment.