|
|
@ -11,10 +11,10 @@ jobs: |
|
|
|
command: | |
|
|
|
cd docker-compose-generator |
|
|
|
sudo docker login --username=$DOCKERHUB_USER --password=$DOCKERHUB_PASS |
|
|
|
sudo docker build --pull -t $DOCKERHUB_REPO:latest-amd64 -f Dockerfile.linuxamd64 . |
|
|
|
sudo docker build --pull -t $DOCKERHUB_REPO:latest-amd64 -f linuxamd64.Dockerfile . |
|
|
|
sudo docker push $DOCKERHUB_REPO:latest-amd64 |
|
|
|
|
|
|
|
publish_docker_linuxarm: |
|
|
|
publish_docker_linuxarm32v7: |
|
|
|
machine: |
|
|
|
docker_layer_caching: true |
|
|
|
steps: |
|
|
@ -25,7 +25,7 @@ jobs: |
|
|
|
# |
|
|
|
cd docker-compose-generator |
|
|
|
sudo docker login --username=$DOCKERHUB_USER --password=$DOCKERHUB_PASS |
|
|
|
sudo docker build --pull -t $DOCKERHUB_REPO:latest-arm32v7 -f Dockerfile.linuxarm32v7 . |
|
|
|
sudo docker build --pull -t $DOCKERHUB_REPO:latest-arm32v7 -f linuxarm32v7.Dockerfile . |
|
|
|
sudo docker push $DOCKERHUB_REPO:latest-arm32v7 |
|
|
|
|
|
|
|
publish_docker_multiarch: |
|
|
@ -54,14 +54,14 @@ workflows: |
|
|
|
filters: |
|
|
|
branches: |
|
|
|
only: dcg-latest |
|
|
|
- publish_docker_linuxarm: |
|
|
|
- publish_docker_linuxarm32v7: |
|
|
|
filters: |
|
|
|
branches: |
|
|
|
only: dcg-latest |
|
|
|
- publish_docker_multiarch: |
|
|
|
requires: |
|
|
|
- publish_docker_linuxamd64 |
|
|
|
- publish_docker_linuxarm |
|
|
|
- publish_docker_linuxarm32v7 |
|
|
|
filters: |
|
|
|
branches: |
|
|
|
only: dcg-latest |
|
|
|