Merge pull request #517 from wader/bump-cairo-1.18.2 #347
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: wader/build-multiarch-on-aws-spots/.github/workflows/build-multiarch-on-aws-spots.yml@359bed825026eeb546816c1b27898d4e5405b658 | |
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 }} |