Skip to content

Commit

Permalink
ci: revise tag name
Browse files Browse the repository at this point in the history
  • Loading branch information
robertu7 committed Mar 5, 2024
1 parent 18c1871 commit e95ae63
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

name: Build & Test

on:
Expand Down Expand Up @@ -65,7 +64,7 @@ jobs:
name: Build Lambda-Handlers Docker Image & Publish to AWS ECR
needs: build-and-test
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

Expand All @@ -86,5 +85,5 @@ jobs:
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
env:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
IMAGE_TAG: v${{ github.head_ref }}-${{ github.sha }}
IMAGE_URI: ${{ steps.login-ecr.outputs.registry }}/${{ env.ECR_REPOSITORY }}:v${{ github.head_ref }}-${{ github.sha }}
IMAGE_TAG: v${{ github.sha }}
IMAGE_URI: ${{ steps.login-ecr.outputs.registry }}/${{ env.ECR_REPOSITORY }}:v${{ github.sha }}

0 comments on commit e95ae63

Please sign in to comment.