Huge number of changes, upgrade to next 15, add loads of pages, auth, add ci, loads of clean up, a db for images etc
This commit is contained in:
30
.gitea/workflows/deploy.yaml
Normal file
30
.gitea/workflows/deploy.yaml
Normal file
@@ -0,0 +1,30 @@
|
||||
name: Build and deploy
|
||||
run-name: Build and deploy
|
||||
on:
|
||||
push:
|
||||
# branches:
|
||||
# - main
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
-
|
||||
name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
-
|
||||
name: Login to private registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: '${{ variables.server_url }}/${{ variables.repository }}'
|
||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||
-
|
||||
name: Build and push
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
push: true
|
||||
tags: '${{ variables.server_url }}/${{ variables.repository }}:latest'
|
||||
Reference in New Issue
Block a user