This repository has been archived on 2023-11-06. You can view files and clone it, but cannot push or open issues or pull requests.
beatsaber-overlay/.gitea/workflows/publish.yaml

35 lines
808 B
YAML
Raw Normal View History

2023-03-27 18:14:19 +00:00
name: Publish
2023-03-27 17:36:44 +00:00
on:
push:
branches:
2023-09-25 01:11:32 +00:00
- "main"
2023-03-27 17:36:44 +00:00
jobs:
docker:
2023-03-27 19:23:06 +00:00
strategy:
matrix:
2023-09-25 01:11:32 +00:00
arch: ["ubuntu-20.04"]
git-version: ["2.38.4"]
2023-03-27 19:23:06 +00:00
runs-on: ${{ matrix.arch }}
2023-10-08 15:42:08 +00:00
container: fascinated/docker-images:node-latest
2023-03-27 17:36:44 +00:00
steps:
2023-03-27 19:34:52 +00:00
- name: checkout
uses: https://github.com/actions/checkout@v3
2023-03-27 18:35:37 +00:00
- name: Set up Docker Buildx
2023-03-27 20:17:10 +00:00
uses: https://github.com/docker/setup-buildx-action@v2
2023-03-27 19:38:28 +00:00
2023-03-27 18:10:34 +00:00
- name: Login to Repo
2023-03-27 20:17:10 +00:00
uses: https://github.com/docker/login-action@v2
2023-03-27 17:36:44 +00:00
with:
username: ${{ secrets.REPO_USERNAME }}
password: ${{ secrets.REPO_TOKEN }}
2023-09-25 01:11:32 +00:00
2023-03-27 18:05:53 +00:00
- name: Build and push
2023-03-27 17:36:44 +00:00
uses: docker/build-push-action@v4
with:
push: true
2023-03-27 19:56:46 +00:00
context: .
2023-10-08 15:42:08 +00:00
tags: fascinated/beatsaber-overlay:latest