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

Docker package: M1 (ARM64) compatibility #871

Closed
andrii-bodnar opened this issue Nov 28, 2024 · 0 comments · Fixed by #872
Closed

Docker package: M1 (ARM64) compatibility #871

andrii-bodnar opened this issue Nov 28, 2024 · 0 comments · Fixed by #872

Comments

@andrii-bodnar
Copy link
Member

andrii-bodnar commented Nov 28, 2024

Currently, the Docker package is not compatible with the M1 architecture. It would be great to have a M1 build as well. Then it could also be used in the GitHub action (crowdin/github-action#160)

References

Dockerfile

CI/CD job:

docker:
runs-on: ubuntu-latest
if: github.event_name == 'release' || github.event.inputs.package == 'all' || github.event.inputs.package == 'docker'
needs: assets
steps:
- uses: actions/checkout@v4
- name: Copy Dockerfile
run: |
cp packages/docker/Dockerfile Dockerfile
- name: Build Docker image
run: |
docker login -u "${{ secrets.DOCKER_USERNAME }}" -p "${{ secrets.DOCKER_PASSWORD }}" docker.io
docker build --pull -t "${{ secrets.DOCKER_HUB_REGISTRY_IMAGE }}:${{ github.ref_name }}" -t "${{ secrets.DOCKER_HUB_REGISTRY_IMAGE }}:latest" .
docker push "${{ secrets.DOCKER_HUB_REGISTRY_IMAGE }}:${{ github.ref_name }}"
docker push "${{ secrets.DOCKER_HUB_REGISTRY_IMAGE }}:latest"

@yevheniyJ yevheniyJ linked a pull request Dec 7, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant