Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/pyldin601/build-multiarch-on-aws-spots
- Owner: pyldin601
- Created: 2022-05-19T19:49:16.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-09-26T11:26:58.000Z (4 months ago)
- Last Synced: 2024-12-08T22:00:11.307Z (about 2 months ago)
- Language: HCL
- Homepage:
- Size: 22.5 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Build multiarch docker image on AWS spot instances
Example:
```
name: Build multiarch docker imageon: [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 }}
```