Building a Docker Image Pipeline Using GitHub Actions

preview_player
Показать описание
--
Sometimes life is simple; you have a single source code repository, a single Dockerfile and you want to build and publish a single Docker image to a single container registry. In other cases you’re packaging third party content, building lots of variant images and publishing multiple tags to multiple registries at once.

Based on real-world examples, in this talk we will:

* Show the hello world example of building a Docker image using GitHub Actions, using the new build-push-action from Docker
* Discuss techniques for building reusable Dockerfiles
* Touch on the difference between packaging from source and packaging from artefacts
* Build up to more advanced use cases, demonstrating the powerful combination of build arguments, multi-stage Dockerfiles and BuildKit

We’ll use GitHub Actions for the demos as it’s easily accessible, and makes bringing automation closer to source code easier than ever. But the examples will all work on other platforms too.

Speaker: Gareth Rushgrove, Snyk
Twitter: @gatethr
Рекомендации по теме
Комментарии
Автор

@Docker There is a typo in the pre-last line: not "Synk" -> "Snyk".

eugenenepomnyaschy
Автор

GitHub Actions Build & Push starts at 06:42

magician