Skip to content

Merge pull request #47 from brave/renovate/aws-actions-configure-aws-… #183

Merge pull request #47 from brave/renovate/aws-actions-configure-aws-…

Merge pull request #47 from brave/renovate/aws-actions-configure-aws-… #183

on: push
name: Generalized Reproducible Deployments
jobs:
push:
name: Invoke General Reproducible Docker Build Pipeline
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2
with:
role-to-assume: ${{ secrets.GDBP_AWS_IAM_ROLE_ARN }}
aws-region: us-west-2
- name: Override GITHUB_REF and thus ECR destination for master
run: echo "GITHUB_REF_OVERRIDE=refs/heads/dev" >> $GITHUB_ENV
if: ${{ github.ref == 'refs/heads/master' }}
- name: Generalized Deployments
uses: brave-intl/general-docker-build-pipeline-action@a5abec689bc65b6a985ed8527d741a130c1483af # v1.0.11