Skip to content

Commit

Permalink
Publish versioned image
Browse files Browse the repository at this point in the history
  • Loading branch information
drdavella committed Nov 1, 2023
1 parent 4c95014 commit 4663534
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/image_to_aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
id: login-ecr
uses: aws-actions/amazon-ecr-login@v2
- name: Build & Push Base Image
# TODO: we really should tag with a specific version as well, but that will come later
run: |
docker buildx build --push -t ${{ steps.login-ecr.outputs.registry }}/pixee/codemodder-python:latest .
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 }} \
.

0 comments on commit 4663534

Please sign in to comment.