Docker - How to build a multi-arch (ARM64) Docker Image Automatically

Docker - How to build a multi-arch (ARM64) Docker Image Automatically

TechTim42

54 года назад

214 Просмотров

#docker #github #cicd #gitlab @Gitlab @GitHub #arm64 #cpu

docker buildx build, this should be the simplest way to build a multi-arch docker images, so simple, it should not have any surprise. Based on Murphy's law, some unexpected happened on the gitlab pipeline. What I learnt is `cosign` is required for the publish.

The final modified version github action for build the multi-arch docker image.

https://github.com/tim-hub/docker-strapi/blob/main/.github/workflows/publish-docker-images.yml


Sections of this video:

00:00 Intro and what the problems I found
01:50 Trying Gitlab Pipeline for automation, but I got issues
04:16 Using Github Action, and it built successfully with no issues
05:57 Compare default Github Action and default Gitlab Pipeline configs in one screen, and see the differences of buildx config

Тэги:

#docker #arm64 #cpu #cicd #github #gitlab #github-action #gitlab-pipeline
Ссылки и html тэги не поддерживаются


Комментарии: