chore(config): Fixed linting errors for CI
This commit is contained in:
@@ -40,3 +40,34 @@ jobs:
|
|||||||
|
|
||||||
- name: Ensure build and bundle info
|
- name: Ensure build and bundle info
|
||||||
run: npx quartz build --bundleInfo
|
run: npx quartz build --bundleInfo
|
||||||
|
|
||||||
|
docker-build:
|
||||||
|
needs: build
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v5
|
||||||
|
|
||||||
|
- name: Login to registry
|
||||||
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
registry: ${{ secrets.REGISTRY_URL }}
|
||||||
|
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||||
|
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||||
|
|
||||||
|
- name: Setup Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
|
- name: Build and push
|
||||||
|
uses: docker/build-push-action@v5
|
||||||
|
with:
|
||||||
|
context: .
|
||||||
|
push: true
|
||||||
|
tags: ${{ secrets.REGISTRY_URL }}/dgroothuis/digital-garden:${{ gitea.sha }},${{ secrets.REGISTRY_URL }}/dgroothuis/digital-garden:latest
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
needs: docker-build
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Fake Deploy
|
||||||
|
run: echo "Deploying"
|
||||||
|
|||||||
Reference in New Issue
Block a user