Support aarch64 #17
  
    
      This file contains hidden or 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: embedded_sdk_docker | |
| on: | |
| push: | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| build_and_publish_container: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Login to GitHub Container Registry | |
| uses: docker/login-action@v1 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| context: . | |
| - name: Build and publish docker image | |
| run: | | |
| docker build . --file Dockerfile --build-arg platform=x86_64 --tag ghcr.io/mitchellthompkins/embedded_sdk-x86_64:latest | |
| docker run ghcr.io/mitchellthompkins/embedded_sdk-x86_64:latest | |
| docker push ghcr.io/mitchellthompkins/embedded_sdk-x86_64:latest |