Skip to content

docs: running on arm64 processors #59

docs: running on arm64 processors

docs: running on arm64 processors #59

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