migrate crate-details, match_version, db:: and test-fakes to sqlx #203
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: Deploy Dev | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
docker: | |
name: Build and upload docker image | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build the Docker image | |
run: docker build -t docs-rs-web -f dockerfiles/Dockerfile --target web-server . | |
- name: Upload the Docker image to ECR (dev) | |
uses: rust-lang/simpleinfra/github-actions/upload-docker-image@master | |
with: | |
image: docs-rs-web | |
repository: docs-rs-web | |
region: us-east-1 | |
aws_access_key_id: "${{ secrets.staging_aws_access_key_id }}" | |
aws_secret_access_key: "${{ secrets.staging_aws_secret_access_key }}" | |
redeploy_ecs_cluster: docs-rs-staging | |
redeploy_ecs_service: docs-rs-web |