Skip to content

Commit

Permalink
fix: fix ecr yml (#37)
Browse files Browse the repository at this point in the history
Co-authored-by: Nicolas Frank <[email protected]>
  • Loading branch information
WonderPG and Nicolas Frank authored Oct 29, 2024
1 parent e85b269 commit 1983b20
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ecr.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Deploy to ECR

on:
push:
tags:
- "v*"
release:
types:
- [published]

permissions:
id-token: write # This is required for requesting the JWT
Expand Down Expand Up @@ -40,7 +40,7 @@ jobs:
env:
ECR_REGISTRY: ${{ steps.login-ecr-management.outputs.registry }}
ECR_REPOSITORY: 671250183987.dkr.ecr.us-east-1.amazonaws.com/ml-repository
IMAGE_TAG: neuroagent-${{ github.ref_name }}
IMAGE_TAG: neuroagent-${{ github.event.release.tag_name }}
run: |
docker tag temp:latest $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG

0 comments on commit 1983b20

Please sign in to comment.