docker-compose.yml update and github workflows update

This commit is contained in:
machka
2025-05-20 19:06:44 +00:00
parent 85abf1d401
commit 31f8752ef6
2 changed files with 18 additions and 13 deletions
+9 -4
View File
@@ -1,4 +1,4 @@
name: Build and Publish Docker Image
name: Build and Publish multi-arch Docker Image
on:
push:
@@ -10,7 +10,6 @@ on:
jobs:
build-and-push:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
@@ -26,12 +25,18 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up QEMU (для эмуляции arm64 на x86)
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push Docker image
- name: Build and push multi-arch Docker image
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/${{ github.repository }}:latest
tags: |
ghcr.io/${{ github.repository }}:latest
ghcr.io/${{ github.repository }}:${{ github.ref_name }}
+9 -9
View File
@@ -6,10 +6,10 @@ services:
hostname: remnawave-tg-shop
env_file:
- .env
networks:
- remnawave-network
volumes:
- ./locales:/app/locales
# networks:
# - remnawave-network
# volumes:
# - ./locales:/app/locales
restart: unless-stopped
postgres:
@@ -19,13 +19,13 @@ services:
- .env
volumes:
- remnawave-tg-shop-db-data:/var/lib/postgresql/data
networks:
- remnawave-network
# networks:
# - remnawave-network
restart: unless-stopped
networks:
remnawave-network:
external: true
# networks:
# remnawave-network:
# external: true
volumes:
remnawave-tg-shop-db-data: