docs: running on arm64 processors #59
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and push stack | |
on: | |
push: | |
branches: | |
- master | |
- main | |
jobs: | |
build-and-push: | |
runs-on: ubuntu-latest | |
steps: | |
# Checks-out repository under $GITHUB_WORKSPACE, so the job can access it | |
- name: Checkout Project | |
uses: actions/checkout@v2 | |
- name: Login to Docker Hub | |
uses: docker/login-action@v1 | |
with: | |
username: ${{ secrets.DOCKER_USER }} | |
password: ${{ secrets.DOCKER_PASS }} | |
- name: Build and push stack image | |
run: | | |
docker-compose -f docker-compose.stack.yml build && \ | |
docker-compose -f docker-compose.stack.yml push | |
- name: Build and push services images | |
run: | | |
export REGISTRY_HOST=index.docker.io && \ | |
export DOMAIN=synmetrix.org && \ | |
docker-compose -f docker-compose.stage.yml build && \ | |
docker-compose -f docker-compose.stage.yml push |