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 name: osu-server
path: grpc-backend path: grpc-backend
- name: Build Frontend Docker image - name: Login to Private Registry
run: | uses: docker/login-action@v3
docker build -t juli0n21/frontend-container:latest -t juli0n21/frontend-container:${{ github.sha }} ./frontend with:
registry: docker.illegalesachen.download
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Log in to Docker Hub - name: Build and Push
env: uses: docker/build-push-action@v6
DOCKER_HUB_USERNAME: ${{ secrets.DOCKER_HUB_USERNAME }} with:
DOCKER_HUB_TOKEN: ${{ secrets.DOCKER_HUB_TOKEN }} context: ./frontend
run: echo "${DOCKER_HUB_TOKEN}" | docker login -u "${DOCKER_HUB_USERNAME}" --password-stdin push: true
tags: |
- name: Push Frontend Docker image docker.illegalesachen.download/osu/music/frontend:latest
run: | docker.illegalesachen.download/osu/music/frontend:${{ github.sha }}
docker push juli0n21/frontend-container:${{ github.sha }}
docker push juli0n21/frontend-container:latest

View File

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