Skip to content

Reusable workflow for building multiarch docker images on AWS spot instances.

Notifications You must be signed in to change notification settings

pyldin601/build-multiarch-on-aws-spots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build multiarch docker image on AWS spot instances

Example:

name: Build multiarch docker image

on: [workflow_dispatch]

jobs:
  build:
    name: Build
    uses: pldin601/build-multiarch-on-aws-spots/.github/workflows/[email protected]
    with:
      DOCKER_IMAGE_TAG: v1.1.2
      WORKFLOW_CHECKOUT: master # Should be the same as the ref used in "uses" expression.
      AWS_REGION: eu-central-1
      AWS_EC2_INSTANCE_SIZE: large
    secrets:
      AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
      AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
      DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
      DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}

About

Reusable workflow for building multiarch docker images on AWS spot instances.

Resources

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •  

Languages