Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Linux Version #629

Closed
clean99 opened this issue Jun 7, 2022 · 0 comments
Closed

Custom Linux Version #629

clean99 opened this issue Jun 7, 2022 · 0 comments

Comments

@clean99
Copy link

clean99 commented Jun 7, 2022

Troubleshooting

Hi, I meet a trouble when using this action, looks like mongodb-memory-server doesn't support alpine version Linux, but I can't figure out how to config the Linux version in this action Can't run mongodb-memory-server on Linux Alpine

Behaviour

Screen Shot 2022-06-07 at 11 41 25 AM

failed when starting an instance of mongo

Steps to reproduce this issue

  1. create an mongodb-memory-server in my code
  2. trigger build and push action
  3. failed with above information

Expected behaviour

successfully start the mongo instance

Configuration

name: Docker Image CI

on:
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]

jobs:

  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v3
    - name: Login to Ali Docker
      uses: docker/login-action@v1
      with:
        registry: ${{ secrets.ALI_DOCKER_HUB_REGISTRY }}
        username: ${{ secrets.ALI_DOCKER_HUB_USN }}
        password: ${{ secrets.ALI_DOCKER_HUB_PWD }}
    - name: Build and push
      id: docker_build
      env:
        MONGODB_URL: ${{ secrets.MONGODB_URL }}
      uses: docker/build-push-action@v2
      with:
        context: .
        push: true
        tags: registry.cn-hangzhou.aliyuncs.com/scnu-lib/scnu-lib-be:0.1.0

Logs

logs_19.zip

@clean99 clean99 closed this as completed Jun 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant