Skip to content

Commit

Permalink
New Sempahore attempt - linux/arn64/v8 & linux/amd64
Browse files Browse the repository at this point in the history
  • Loading branch information
acockburn committed Feb 27, 2023
1 parent b4b4bc2 commit 4aaa70e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ blocks:
- docker buildx ls
- docker buildx create --name multiarch --driver docker-container --use
- docker buildx inspect --bootstrap --builder multiarch
- 'docker buildx build --platform linux/arm64/v8,linux/amd64,linux/arm/v6,linux/arm/v7 --tag $DOCKER_USERNAME/$DOCKER_IMAGE:$SEMAPHORE_GIT_TAG_NAME --tag $DOCKER_USERNAME/$DOCKER_IMAGE:latest --push .'
#- 'docker buildx build --platform linux/arm64/v8,linux/amd64,linux/arm/v6,linux/arm/v7 --tag $DOCKER_USERNAME/$DOCKER_IMAGE:$SEMAPHORE_GIT_TAG_NAME --tag $DOCKER_USERNAME/$DOCKER_IMAGE:latest --push .'
- 'docker buildx build --platform linux/arm64/v8,linux/amd64 --tag $DOCKER_USERNAME/$DOCKER_IMAGE:dev --push .'

secrets:
- name: Docker Token
- name: DEV
Expand All @@ -54,6 +56,6 @@ blocks:
- docker buildx create --name multiarch --driver docker-container --use
- docker buildx inspect --bootstrap --builder multiarch
#- 'docker buildx build --platform linux/arm64/v8,linux/amd64,linux/arm/v6,linux/arm/v7 --tag $DOCKER_USERNAME/$DOCKER_IMAGE:dev --push .'
- 'docker buildx build --platform linux/arm/v7 --tag $DOCKER_USERNAME/$DOCKER_IMAGE:dev --push .'
- 'docker buildx build --platform linux/arm64/v8,linux/amd64 --tag $DOCKER_USERNAME/$DOCKER_IMAGE:dev --push .'
secrets:
- name: Docker Token

0 comments on commit 4aaa70e

Please sign in to comment.