mirror of
https://github.com/Kizuren/QuizConnect.git
synced 2025-12-21 21:16:14 +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 }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
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
|
- name: Build and push Docker image
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
|
|
@ -38,4 +47,4 @@ jobs:
|
||||||
file: ./Server/Dockerfile
|
file: ./Server/Dockerfile
|
||||||
push: true
|
push: true
|
||||||
platforms: linux/amd64, linux/arm64/v8
|
platforms: linux/amd64, linux/arm64/v8
|
||||||
tags: ghcr.io/marcus7i/quizconnect:latest
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
services:
|
services:
|
||||||
quizconnectserver:
|
quizconnectserver:
|
||||||
image: ghcr.io/marcus7i/quizconnect:latest
|
image: ghcr.io/kizuren/quizconnect:latest
|
||||||
container_name: quizconnectserver
|
container_name: quizconnectserver
|
||||||
environment:
|
environment:
|
||||||
- APP_UID=1000
|
- APP_UID=1000
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue