Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
214e64e996 |
@@ -15,8 +15,6 @@ jobs:
|
||||
packages: write
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Lowercase repo owner
|
||||
run: echo "REPO_OWNER=$(echo "${{ github.repository_owner }}" | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV
|
||||
- uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ghcr.io
|
||||
@@ -27,8 +25,8 @@ jobs:
|
||||
context: ./api
|
||||
push: true
|
||||
tags: |
|
||||
ghcr.io/${{ env.REPO_OWNER }}/stoat-admin-api:latest
|
||||
ghcr.io/${{ env.REPO_OWNER }}/stoat-admin-api:${{ github.sha }}
|
||||
ghcr.io/${{ github.repository_owner }}/stoat-admin-api:latest
|
||||
ghcr.io/${{ github.repository_owner }}/stoat-admin-api:${{ github.sha }}
|
||||
|
||||
build-web:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -37,8 +35,6 @@ jobs:
|
||||
packages: write
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Lowercase repo owner
|
||||
run: echo "REPO_OWNER=$(echo "${{ github.repository_owner }}" | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV
|
||||
- uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ghcr.io
|
||||
@@ -51,5 +47,5 @@ jobs:
|
||||
build-args: |
|
||||
VITE_API_URL=http://127.0.0.1:5181
|
||||
tags: |
|
||||
ghcr.io/${{ env.REPO_OWNER }}/stoat-admin-web:latest
|
||||
ghcr.io/${{ env.REPO_OWNER }}/stoat-admin-web:${{ github.sha }}
|
||||
ghcr.io/${{ github.repository_owner }}/stoat-admin-web:latest
|
||||
ghcr.io/${{ github.repository_owner }}/stoat-admin-web:${{ github.sha }}
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@
|
||||
"husky": "^9.1.7",
|
||||
"lint-staged": "^16.4.0",
|
||||
"prettier": "^3.8.1",
|
||||
"turbo": "^2.5.4"
|
||||
"turbo": "^2.9.14"
|
||||
},
|
||||
"pnpm": {
|
||||
"overrides": {
|
||||
|
||||
Generated
+1419
-2817
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user