Merge pull request #350 from wader/bump-libmysofa-1.3.2 #164
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Build multi-arch image" | |
on: | |
push: | |
branches: | |
- 'master' | |
tags: | |
- '**' | |
jobs: | |
tag: | |
name: Extract tag name | |
runs-on: ubuntu-latest | |
outputs: | |
TAG: ${{ steps.tag.outputs.result }} | |
steps: | |
- name: Extract the tag name | |
id: tag | |
uses: actions/[email protected] | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
script: | | |
return context.payload.ref === "refs/heads/master" | |
? 'latest' | |
: context.payload.ref.replace(/^refs\/(tags|heads)\//, ''); | |
build: | |
needs: | |
- tag | |
name: Build | |
uses: pldin601/build-multiarch-on-aws-spots/.github/workflows/build-multiarch-on-aws-spots.yml@5c448cb91b65e617237df2326723441f25f8eea0 | |
with: | |
DOCKER_IMAGE_TAG: ${{ needs.tag.outputs.TAG }} | |
DOCKER_IMAGE_NAME: "mwader/static-ffmpeg" | |
WORKFLOW_CHECKOUT: 5c448cb91b65e617237df2326723441f25f8eea0 | |
AWS_REGION: eu-central-1 | |
AWS_EC2_INSTANCE_SIZE: xlarge | |
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 }} |