Skip to content
Snippets Groups Projects
Commit f6b4d6b7 authored by Erick Hitter's avatar Erick Hitter
Browse files

Build amd64 and arm7 images

parent 1c8d4e31
Branches
No related tags found
1 merge request!1MVP
Pipeline #1842 passed
......@@ -41,10 +41,18 @@ build:master:
- master
when: manual
build:dev:
build:dev-amd64:
stage: deploy
script:
- docker build --pull -t "$CI_REGISTRY_IMAGE:dev" ./context/
# - docker push "$CI_REGISTRY_IMAGE:dev"
- docker build --build-arg opts="CGO_ENABLED=0 GOARCH=amd64" --pull -t "$CI_REGISTRY_IMAGE:dev-amd64" ./context/
# - docker push "$CI_REGISTRY_IMAGE:dev-amd64"
except:
- master
build:dev-arm7:
stage: deploy
script:
- docker build --build-arg opts="GOARCH=arm GOARM=7" --pull -t "$CI_REGISTRY_IMAGE:dev-arm7" ./context/
# - docker push "$CI_REGISTRY_IMAGE:dev-arm7"
except:
- master
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment