Giter VIP home page Giter VIP logo

Comments (4)

murugaratham avatar murugaratham commented on May 23, 2024 1

I see, I'll close the issue and subscribe to #50 then, thanks for linking them

from rover.

im2nguyen avatar im2nguyen commented on May 23, 2024

Hrm, interesting. I built rover using go 1.17 which should have ARM (M1 mac) support.

Based on the error message you provided, it seems like you installed the wrong binary version (linux/ambd64) instead of the actual one needed for your system (linux/arm64).

Here's the zip file for rover v0.2.2 linux/arm64

from rover.

murugaratham avatar murugaratham commented on May 23, 2024

I'm actually using docker, and it's most likely a problem with the docker images aren't built to be multi arch.

I have other applications written in .net that are built for arm64, but the base images themselves were built for amd64. Have you tried buildx?

edit: i've looked up on github actions, i think it's just a simple property:

https://github.com/docker/build-push-action/blob/master/docs/advanced/multi-platform.md

name: ci

on:
  push:
    branches:
      - 'master'

jobs:
  docker:
    runs-on: ubuntu-latest
    steps:
      -
        name: Checkout
        uses: actions/checkout@v2
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v1
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v1
      -
        name: Login to DockerHub
        uses: docker/login-action@v1 
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v2
        with:
          context: .
          platforms: linux/amd64,linux/arm64 # <---- here
          push: true
          tags: user/app:latest

from rover.

im2nguyen avatar im2nguyen commented on May 23, 2024

Oh! Then this is a dup of #50 😄

I created a PR for it, but waiting for additional features I'm planning on adding this weekend so I can cut a release next week with more than one feature

from rover.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.