Merge pull request #493 from citizensadvice/dependabot/bundler/rails_… #277
This file contains hidden or 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: Dev Deployment | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - develop | |
| jobs: | |
| build: | |
| name: Build Image | |
| runs-on: runs-on | |
| permissions: | |
| id-token: write | |
| contents: read | |
| issues: read | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 | |
| - name: Build and push to ECR | |
| uses: citizensadvice/build-and-private-ecr-push-action@06156804416b88e56d11c46621a135f757182a1f | |
| with: | |
| role_arn: "arn:aws:iam::979633842206:role/LocalOfficeSearchApiDeployment" | |
| dockerfile_context: "." | |
| repository_name: local-office-search-api | |
| multiarch_build: "disabled" | |
| prod_image: true | |
| auth_token: ${{ secrets.GITHUB_TOKEN }} | |
| deploy: | |
| name: Deploy dev | |
| needs: | |
| - build | |
| uses: ./.github/workflows/deploy_stage.yml | |
| with: | |
| stage: dev | |
| secrets: inherit |