mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-22 05:45:18 +02:00
Add support for arm64 to Dockerfile (#821)
* Add support for arm64 to Dockerfile * Change machine type R1 Fixes #820
This commit is contained in:
@@ -8,8 +8,9 @@ blocks:
|
||||
commands:
|
||||
- checkout
|
||||
- export TAG=$(echo ${SEMAPHORE_GIT_TAG_NAME:-vlatest} |cut -c 2-)
|
||||
- 'docker build -t "devicefarmer/stf:$TAG" .'
|
||||
- docker push devicefarmer/stf:$TAG
|
||||
- docker buildx create --platform=linux/amd64,linux/arm64 --use
|
||||
- 'docker buildx build --platform=linux/amd64,linux/arm64 -t "devicefarmer/stf:$TAG" .'
|
||||
- docker push "devicefarmer/stf:$TAG"
|
||||
secrets:
|
||||
- name: dockerhub-secrets
|
||||
prologue:
|
||||
@@ -18,5 +19,5 @@ blocks:
|
||||
dependencies: []
|
||||
agent:
|
||||
machine:
|
||||
type: e1-standard-2
|
||||
os_image: ubuntu2004
|
||||
type: r1-standard-4
|
||||
os_image: ubuntu2204
|
||||
|
||||
Reference in New Issue
Block a user