mirror of
https://github.com/Kizuren/QuizConnect.git
synced 2025-12-21 13:06:15 +01:00
Updated docker files
This commit is contained in:
parent
a67024a48c
commit
19feac216c
2 changed files with 11 additions and 2 deletions
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
|
|
@ -31,6 +31,15 @@ jobs:
|
|||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Docker meta
|
||||
id: meta
|
||||
uses: docker/metadata-action@v4
|
||||
with:
|
||||
images: ghcr.io/${{ github.repository }}
|
||||
tags: |
|
||||
type=ref,event=tag
|
||||
type=raw,value=latest,enable={{is_default_branch}}
|
||||
|
||||
- name: Build and push Docker image
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
|
|
@ -38,4 +47,4 @@ jobs:
|
|||
file: ./Server/Dockerfile
|
||||
push: true
|
||||
platforms: linux/amd64, linux/arm64/v8
|
||||
tags: ghcr.io/marcus7i/quizconnect:latest
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
services:
|
||||
quizconnectserver:
|
||||
image: ghcr.io/marcus7i/quizconnect:latest
|
||||
image: ghcr.io/kizuren/quizconnect:latest
|
||||
container_name: quizconnectserver
|
||||
environment:
|
||||
- APP_UID=1000
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue