upgrade AWS SDKs #113
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@v3 | |
- 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 |