update workflows

This commit is contained in:
2026-03-12 16:45:38 +01:00
parent 6f5c9df350
commit a3b5fea1eb
2 changed files with 28 additions and 26 deletions

View File

@@ -23,17 +23,18 @@ jobs:
name: osu-server
path: grpc-backend
- name: Build Proxy Docker image
run: |
docker build -t juli0n21/proxy-container:latest -t juli0n21/proxy-container:${{ github.sha }} ./proxy
- name: Login to Private Registry
uses: docker/login-action@v3
with:
registry: docker.illegalesachen.download
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Log in to Docker Hub
env:
DOCKER_HUB_USERNAME: ${{ secrets.DOCKER_HUB_USERNAME }}
DOCKER_HUB_TOKEN: ${{ secrets.DOCKER_HUB_TOKEN }}
run: echo "${DOCKER_HUB_TOKEN}" | docker login -u "${DOCKER_HUB_USERNAME}" --password-stdin
- name: Push Proxy Docker image
run: |
docker push juli0n21/proxy-container:${{ github.sha }}
docker push juli0n21/proxy-container:latest
- 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 }}