Merge pull request #381 from brave/renovate/tokio-1.x-lockfile #409
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
on: | |
push: | |
branches: | |
- main | |
- dev | |
- staging | |
tags: | |
- v* | |
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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- 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 main | |
run: echo "GITHUB_REF_OVERRIDE=refs/heads/dev" >> $GITHUB_ENV | |
if: ${{ github.ref == 'refs/heads/main' }} | |
- name: Set REPRODUCIBLE to get a reproducible build | |
run: echo "REPRODUCIBLE=true" >> $GITHUB_ENV | |
- name: Generalized Deployments | |
uses: brave-intl/general-docker-build-pipeline-action@95b0bdf579dc083ec969fb92d228c287047ef48d # v1.0.16 |