mirror of
https://github.com/JuLi0n21/pwa-player.git
synced 2026-04-19 23:40:05 +00:00
41 lines
973 B
YAML
41 lines
973 B
YAML
name: Build Proxy Docker
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
paths:
|
|
- 'proxy/**'
|
|
pull_request:
|
|
paths:
|
|
- 'proxy/**'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build-proxy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Download osu-server binary
|
|
uses: actions/download-artifact@v4
|
|
with:
|
|
name: osu-server
|
|
path: grpc-backend
|
|
|
|
- name: Login to Private Registry
|
|
uses: docker/login-action@v3
|
|
with:
|
|
registry: docker.illegalesachen.download
|
|
username: ${{ secrets.DOCKER_USERNAME }}
|
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
|
|
|
- name: Build and Push
|
|
uses: docker/build-push-action@v6
|
|
with:
|
|
context: ./proxy
|
|
push: true
|
|
tags: |
|
|
docker.illegalesachen.download/osu/music/proxy:latest
|
|
docker.illegalesachen.download/osu/music/proxy:${{ github.sha }}
|