Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pyldin601/build-multiarch-on-aws-spots

Reusable workflow for building multiarch docker images on AWS spot instances.
https://github.com/pyldin601/build-multiarch-on-aws-spots

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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 }}
```