35 lines
1.0 KiB
YAML
Raw Normal View History

2023-12-30 16:33:25 +01:00
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:
2023-12-30 16:33:25 +01:00
- name: 'Build:checkout'
uses: actions/checkout@v4
- name: Set up docker
uses: papodaca/install-docker-action@main
- name: Set up QEMU
2023-12-30 16:33:25 +01:00
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
2024-01-06 14:33:16 +01:00
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'
2023-12-30 16:33:25 +01:00
uses: docker/build-push-action@v4
2023-12-30 12:38:31 +01:00
env:
ACTIONS_RUNTIME_TOKEN: '' # Workaround to some bug specific to gitea actions.
with:
2023-12-30 16:33:25 +01:00
tags: git.projectsegfau.lt/midou/midou36o.github.io:latest
context: '.'
2023-12-30 16:33:25 +01:00
file: ./Dockerfile
push: true