Update changelog for 0.81.0 release (#282) #45
Workflow file for this run
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 to AWS | |
env: | |
AWS_REGION: 'us-east-1' | |
on: | |
push: | |
tags: | |
- "[0-9]+.[0-9]+.[0-9]+" | |
jobs: | |
push: | |
name: Build & Push Base Container Image | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
id-token: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Fetch AWS Credentials | |
uses: aws-actions/configure-aws-credentials@v4 | |
with: | |
role-to-assume: arn:aws:iam::218200003247:role/DeployCodemodderImagesRole | |
role-session-name: github | |
aws-region: ${{ env.AWS_REGION }} | |
- name: Login to Amazon ECR | |
id: login-ecr | |
uses: aws-actions/amazon-ecr-login@v2 | |
- name: Build & Push Base Image | |
run: > | |
docker buildx build --push | |
-t ${{ steps.login-ecr.outputs.registry }}/pixee/codemodder-python:latest | |
-t ${{ steps.login-ecr.outputs.registry }}/pixee/codemodder-python:${{ github.ref_name }} | |
. |