mirror of
https://github.com/usatiuk/writer.git
synced 2025-10-29 00:17:48 +01:00
Update config.yml
This commit is contained in:
@@ -121,9 +121,9 @@ jobs:
|
|||||||
name: log in to docker hub
|
name: log in to docker hub
|
||||||
command: echo "$DOCKER_PASSWORD" | docker login --username $DOCKER_USERNAME --password-stdin
|
command: echo "$DOCKER_PASSWORD" | docker login --username $DOCKER_USERNAME --password-stdin
|
||||||
|
|
||||||
# - run:
|
- run:
|
||||||
# name: install emulators
|
name: install emulators
|
||||||
# command: docker run --privileged --rm tonistiigi/binfmt --install all
|
command: docker run --privileged --rm tonistiigi/binfmt --install all
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: create docker builder
|
name: create docker builder
|
||||||
@@ -131,33 +131,33 @@ jobs:
|
|||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: build and push to docker hub
|
name: build and push to docker hub
|
||||||
#command: docker buildx build --push --platform linux/arm/v7,linux/arm64/v8,linux/amd64 --tag stepanusatiuk/writer:latest .
|
command: docker buildx build --push --platform linux/arm64,linux/amd64 --tag stepanusatiuk/writer:$CIRCLE_BRANCH .
|
||||||
command: docker buildx build --push --platform linux/amd64 --tag stepanusatiuk/writer:$CIRCLE_BRANCH .
|
#command: docker buildx build --push --platform linux/amd64 --tag stepanusatiuk/writer:$CIRCLE_BRANCH .
|
||||||
|
|
||||||
build-arm:
|
# build-arm:
|
||||||
machine:
|
# machine:
|
||||||
image: ubuntu-2004:current
|
# image: ubuntu-2004:current
|
||||||
resource_class: arm.medium
|
# resource_class: arm.medium
|
||||||
working_directory: ~/writer
|
# working_directory: ~/writer
|
||||||
|
#
|
||||||
steps:
|
# steps:
|
||||||
- checkout
|
# - checkout
|
||||||
- run:
|
# - run:
|
||||||
name: log in to docker hub
|
# name: log in to docker hub
|
||||||
command: echo "$DOCKER_PASSWORD" | docker login --username $DOCKER_USERNAME --password-stdin
|
# command: echo "$DOCKER_PASSWORD" | docker login --username $DOCKER_USERNAME --password-stdin
|
||||||
|
#
|
||||||
# - run:
|
# - run:
|
||||||
# name: install emulators
|
# name: install emulators
|
||||||
# command: docker run --privileged --rm tonistiigi/binfmt --install all
|
# command: docker run --privileged --rm tonistiigi/binfmt --install all
|
||||||
|
#
|
||||||
- run:
|
# - run:
|
||||||
name: create docker builder
|
# name: create docker builder
|
||||||
command: docker buildx create --use
|
# command: docker buildx create --use
|
||||||
|
#
|
||||||
- run:
|
# - run:
|
||||||
name: build and push to docker hub
|
# name: build and push to docker hub
|
||||||
#command: docker buildx build --push --platform linux/arm/v7,linux/arm64/v8,linux/amd64 --tag stepanusatiuk/writer:latest .
|
# #command: docker buildx build --push --platform linux/arm/v7,linux/arm64/v8,linux/amd64 --tag stepanusatiuk/writer:latest .
|
||||||
command: docker buildx build --push --platform linux/arm64 --tag stepanusatiuk/writer:$CIRCLE_BRANCH .
|
# command: docker buildx build --push --platform linux/arm64 --tag stepanusatiuk/writer:$CIRCLE_BRANCH .
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
@@ -173,8 +173,8 @@ workflows:
|
|||||||
- test-backend
|
- test-backend
|
||||||
- test-frontend
|
- test-frontend
|
||||||
- test-frontend-build
|
- test-frontend-build
|
||||||
- build-arm:
|
# - build-arm:
|
||||||
requires:
|
# requires:
|
||||||
- test-backend
|
# - test-backend
|
||||||
- test-frontend
|
# - test-frontend
|
||||||
- test-frontend-build
|
# - test-frontend-build
|
||||||
|
|||||||
Reference in New Issue
Block a user