fix: settings.py only amd64
This commit is contained in:
parent
87e9d10bb3
commit
5cb34f9089
2 changed files with 8 additions and 2 deletions
|
@ -48,11 +48,14 @@ jobs:
|
||||||
type=semver,pattern={{major}}
|
type=semver,pattern={{major}}
|
||||||
- name: Copy .env
|
- name: Copy .env
|
||||||
run: cp .env-dist .env
|
run: cp .env-dist .env
|
||||||
|
- name: Link settings.py
|
||||||
|
run: ln -s settings_dist.py wg_manager/settings.py
|
||||||
- name: Build and push Docker image FE
|
- name: Build and push Docker image FE
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64
|
||||||
|
#,linux/arm64
|
||||||
file: Containerfile
|
file: Containerfile
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
|
|
|
@ -48,11 +48,14 @@ jobs:
|
||||||
type=semver,pattern={{major}}
|
type=semver,pattern={{major}}
|
||||||
- name: Copy .env
|
- name: Copy .env
|
||||||
run: cp .env-dist .env
|
run: cp .env-dist .env
|
||||||
|
- name: Link settings.py
|
||||||
|
run: ln -s settings_dist.py wg_manager/settings.py
|
||||||
- name: Build and push Docker image FE
|
- name: Build and push Docker image FE
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64
|
||||||
|
#,linux/arm64
|
||||||
file: Containerfile-worker
|
file: Containerfile-worker
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
|
|
Loading…
Reference in a new issue