mirror of
https://github.com/lemeow125/DRF_Template.git
synced 2024-11-16 19:59:24 +08:00
Set platform in build.yml
This commit is contained in:
parent
bf5ee67f5f
commit
41c2189eb9
1 changed files with 1 additions and 4 deletions
|
@ -1,6 +1,3 @@
|
|||
labels:
|
||||
platform: linux/aarch64
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: docker
|
||||
|
@ -8,7 +5,7 @@ steps:
|
|||
- branch: master
|
||||
event: push
|
||||
commands:
|
||||
- docker build -t "$REGISTRY_IMAGE_TAG" .
|
||||
- docker build -t "$REGISTRY_IMAGE_TAG" --platform linux/arm64 .
|
||||
- echo "$FORGEJO_REGISTRY_PASSWORD" | docker login "$FORGEJO_REGISTRY_URL" --password-stdin -u "$FORGEJO_REGISTRY_USERNAME"
|
||||
- docker push "$REGISTRY_IMAGE_TAG"
|
||||
volumes:
|
||||
|
|
Loading…
Reference in a new issue