Skip to content

rossbachp/multiarch-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Play arround to build docker multi arch images

Master Branch CI Nightly Test Release

Welcome. This is a simple example application to show a common Docker specific GitHub Action setup. We have a Go application that is built and deployed in Docker containers using Dockerfiles.

This is project use this useful Docker action examples!

Docker Actions v2

CI setup

We want to setup CI to test:

Hack locally

Create a local image with your architecture

$ make dev

If you don't have install a multi arch image builder, create one:

$ make builder

Build multiarch without load or push.

$ make build

Create multiarch and push to docker my account

NOTE: Login to the right hub account!

$ make push

let the diffenent arch container images run

$ make run

Trigger the release with

$ git tag -a v1.0.3
$ git push origin v1.0.3

Regards,

Peter [email protected]