Skip to content

Commit

Permalink
add build
Browse files Browse the repository at this point in the history
  • Loading branch information
xxl4 committed Nov 19, 2023
1 parent dc3bd12 commit d3a6713
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 5 deletions.
67 changes: 67 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
name: Build

on:
push:
branches: [ main ]
paths-ignore:
- .github/**
- docs/**
pull_request:
branches: [ main ]

jobs:
sync:
name: 'Submodules Sync'
runs-on: ubuntu-latest
steps:
- name: check submodules
uses: actions/checkout@v4
with:
submodules: true
# Update references
- name: Git Sumbodule Update
run: |
git submodule update --remote --recursive
- name: ls dir
run: ls -la

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Git Sumbodule Update
run: |
git submodule update --remote --recursive
- name: Log in to Docker Hub
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
with:
username: ${{ secrets.HUB_DOCKER_USERNAME }}
password: ${{ secrets.HUB_DOCKER_PASSWORD }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
with:
images: nicesteven/laravel-store

- name: Build and push Docker image version
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
with:
context: .
file: ./Dockerfile
push: true
tags: nicesteven/laravel-store:1.0.0

- name: Build and push Docker image
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
with:
context: .
file: ./Dockerfile
push: true
tags: nicesteven/laravel-store:latest
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# laravel-admin-store
Laravel admin Store 是一套基于基础商品,订单中心,基于基础订单,商品等模块,实现了商品的创建,商品的多平台的同步,更新等操作
# laravel-store

针对于天猫,淘宝,JD,抖店都是需要有自己的服务器提供来运行,我们提供了队列机制,从而可以方便的管理各平台的数据内容。
Laravel Store 是一套基于基础商品,订单中心,基于基础订单,商品等模块,实现了商品的创建,商品的多平台的同步,更新等操作

针对于天猫,淘宝,京东,抖店都是需要有自己的服务器提供来运行,提供了队列机制,从而可以方便的管理各平台的数据内容。

# 截图

Expand All @@ -18,13 +19,13 @@ Laravel admin Store 是一套基于基础商品,订单中心,基于基础订
## 源码安装部署

```bash
git clone https://github.com/nicelizhi/laravel-admin-store.git
git clone https://github.com/nicelizhi/laravel-store.git
```

## DOcker安装部署

```bash
docker pull
docker pull nicesteven/laravel-store
```

## 支持模块
Expand Down

0 comments on commit d3a6713

Please sign in to comment.