31 lines
655 B
YAML
31 lines
655 B
YAML
name: Publish
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- "main"
|
|
|
|
jobs:
|
|
docker:
|
|
runs-on: ubuntu-22.04
|
|
#container: fascinated/docker-images:node-latest
|
|
steps:
|
|
- name: checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Set up Docker Buildx
|
|
uses: docker/setup-buildx-action@v2
|
|
|
|
- name: Login to Repo
|
|
uses: docker/login-action@v2
|
|
with:
|
|
username: ${{ secrets.REPO_USERNAME }}
|
|
password: ${{ secrets.REPO_TOKEN }}
|
|
|
|
- name: Build and push
|
|
uses: docker/build-push-action@v4
|
|
with:
|
|
push: true
|
|
context: .
|
|
tags: fascinated/beatsaber-overlay:latest
|