refactor: update dockerfile

This commit is contained in:
Mauricio Siu
2024-10-27 21:53:02 -06:00
parent e35559156a
commit c8673311ea
11 changed files with 269 additions and 43 deletions

30
.github/workflows/deploy.yml vendored Normal file
View File

@@ -0,0 +1,30 @@
name: Build Docker images
on:
push:
branches: ["main"]
jobs:
build-and-push-image-website:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v4
with:
context: .
file: ./Dockerfile.website
push: true
tags: dokploy/website:latest
platforms: linux/amd64