Skip to content

Commit

Permalink
Correct source tag when adding versioned tags to images
Browse files Browse the repository at this point in the history
  • Loading branch information
kobl1nhs committed Mar 19, 2024
1 parent 347538f commit ef98707
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,11 @@ tasks:
ECR_REPO: '{{.ECR_HOST}}/{{.REPO_NAME}}'
PLATFORM_SUFFIX: '{{.PLATFORM_SUFFIX}}'
VERSION: '{{.VERSION}}'
NEW_TAG: '{{.ECR_REPO}}:{{.VERSION}}-{{.PLATFORM_SUFFIX}}'
cmds:
- task: ecr-login
- docker tag sfrunner:{{.VERSION}}-latest {{.ECR_REPO}}:{{.VERSION}}-{{.PLATFORM_SUFFIX}}
- docker push {{.ECR_REPO}}:{{.VERSION}}-{{.PLATFORM_SUFFIX}}
- docker tag sfrunner:latest {{.NEW_TAG}}
- docker push {{.NEW_TAG}}


push-manifest:
Expand Down

0 comments on commit ef98707

Please sign in to comment.