mirror of
https://github.com/JuLi0n21/pwa-player.git
synced 2026-04-19 15:30:05 +00:00
update workflows
This commit is contained in:
27
.github/workflows/frontend.yml
vendored
27
.github/workflows/frontend.yml
vendored
@@ -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
|
|
||||||
27
.github/workflows/proxy.yml
vendored
27
.github/workflows/proxy.yml
vendored
@@ -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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user