diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index b1cdcf8..f47b9db 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -1,20 +1,18 @@ -name: Docker Version Check +name: Build and Push Docker on: push: branches: [ main ] jobs: - check-docker: + build: runs-on: ubuntu-latest steps: - - name: Checkout repository + - name: Checkout uses: actions/checkout@v4 - with: - repository: admin/justin-leroy.fr - submodules: recursive - fetch-depth: 1 - - name: Show Docker version - run: docker --version \ No newline at end of file + - name: Build and Push + run: | + docker build -t localhost:5000/mon-app:latest . + docker push localhost:5000/mon-app:latest