From 4ca9c495b0c6b9a69ed4f9780ef98ef9537d1d19 Mon Sep 17 00:00:00 2001
From: MarcUs7i <96580944+MarcUs7i@users.noreply.github.com>
Date: Fri, 4 Jul 2025 18:46:20 +0200
Subject: [PATCH] Updated docker files
---
.github/workflows/build.yml | 11 ++++++++++-
README.md | 2 +-
docker-compose.yml | 2 +-
src/Components/Navbar/index.js | 2 +-
4 files changed, 13 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 88c7925..5b4639c 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -27,10 +27,19 @@ 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:
context: .
push: true
platforms: linux/amd64, linux/arm64/v8, linux/arm/v7
- tags: ghcr.io/marcus7i/saucekudasai:${{ github.ref_name }},ghcr.io/marcus7i/saucekudasai:latest
\ No newline at end of file
+ tags: ${{ steps.meta.outputs.tags }}
\ No newline at end of file
diff --git a/README.md b/README.md
index 665465a..8f2506d 100644
--- a/README.md
+++ b/README.md
@@ -36,6 +36,6 @@ docker compose -f docker-compose-build.yml up -d
## Author
Original: **[Ayush Gupta](https://github.com/ayushgptaa)**
-Modified by: **[MarcUs7i](https://github.com/MarcUs7i)**
+Modified by: **[Kizuren](https://github.com/Kizuren)**
Original repository: https://github.com/ayushgptaa/SauceKudasai
\ No newline at end of file
diff --git a/docker-compose.yml b/docker-compose.yml
index 4fbf7a7..82eeb87 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -1,6 +1,6 @@
services:
saucekudasai:
- image: ghcr.io/marcus7i/saucekudasai:latest
+ image: ghcr.io/kizuren/saucekudasai:latest
container_name: saucekudasai
restart: unless-stopped
ports:
diff --git a/src/Components/Navbar/index.js b/src/Components/Navbar/index.js
index 0e92f0f..4168ab9 100644
--- a/src/Components/Navbar/index.js
+++ b/src/Components/Navbar/index.js
@@ -49,7 +49,7 @@ const index = () => {
SauceKudasai