2023-12-30 00:43:37 +05:30
|
|
|
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 16:17:00 +05:30
|
|
|
- name: Install Docker
|
|
|
|
run: curl -fsSL https://get.docker.com | sh
|
2023-12-30 16:45:16 +05:30
|
|
|
- name: Set up QEMU
|
2023-12-30 18:08:08 +05:30
|
|
|
uses: docker/setup-qemu-action@v3
|
2023-12-30 00:43:37 +05:30
|
|
|
- name: Set up Docker Buildx
|
2023-12-30 18:08:08 +05:30
|
|
|
uses: docker/setup-buildx-action@v3
|
2023-12-30 00:43:37 +05:30
|
|
|
- name: 'Build:checkout'
|
2023-12-30 18:08:08 +05:30
|
|
|
uses: actions/checkout@v4
|
2023-12-30 00:43:37 +05:30
|
|
|
- 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 18:08:08 +05:30
|
|
|
uses: docker/build-push-action@v5
|
2023-12-30 17:08:31 +05:30
|
|
|
env:
|
|
|
|
ACTIONS_RUNTIME_TOKEN: '' # Workaround to some bug specific to gitea actions.
|
2023-12-30 00:43:37 +05:30
|
|
|
with:
|
2023-12-30 16:45:16 +05:30
|
|
|
tags: midou/midou36o.github.io:latest
|
2023-12-30 00:43:37 +05:30
|
|
|
context: '.'
|
|
|
|
push: true
|
|
|
|
no-cache: true
|
2023-12-30 16:46:37 +05:30
|
|
|
secrets: |
|
|
|
|
GIT_AUTH_TOKEN=${{ secrets.ACCESS_TOKEN }}
|