33 lines
1009 B
YAML
Raw Normal View History

name: Svelte Website guild.
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 11:47:00 +01:00
- name: Install Docker
run: curl -fsSL https://get.docker.com | sh
- name: Setup QEMU
2023-12-30 11:47:00 +01:00
uses: https://github.com/docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: 'Build:checkout'
2023-12-30 11:47:00 +01:00
uses: https://github.com/actions/checkout@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 11:47:00 +01:00
uses: https://github.com/docker/build-push-action@v3
with:
tags: git.projectsegfau.lt/midou/midou36o.github.io:latest
context: '.'
push: true
no-cache: true