Skip to content

Update integration test #27

Update integration test

Update integration test #27

Workflow file for this run

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 }}
.