midou36o.github.io/.gitea/workflows/build.yaml
Midou36O 776779f9fb
Some checks failed
Svelte Website build & push. / Building the website (push) Failing after 18m58s
CI
2024-01-06 14:33:16 +01:00

35 lines
1.0 KiB
YAML

name: Svelte Website build & push.
run-name: ${{ github.actor }} is building the website.
on:
push:
branches:
- 'svelte-stable'
jobs:
build:
name: 'Building the website'
runs-on: ubuntu-latest
steps:
- name: 'Build:checkout'
uses: actions/checkout@v4
- name: Set up docker
uses: papodaca/install-docker-action@main
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to the Container registry
uses: docker/login-action@v2
with:
registry: git.projectsegfau.lt
username: midou
password: ${{ secrets.ACCESS_TOKEN }}
- name: 'Build:dockerimage'
uses: docker/build-push-action@v4
env:
ACTIONS_RUNTIME_TOKEN: '' # Workaround to some bug specific to gitea actions.
with:
tags: git.projectsegfau.lt/midou/midou36o.github.io:latest
context: '.'
file: ./Dockerfile
push: true