Skip to content

Commit

Permalink
chore: Update build-container.sh to use registry and target variables…
Browse files Browse the repository at this point in the history
… in docker build command
  • Loading branch information
amirnd51 committed Jul 24, 2024
1 parent d58b7a8 commit ed92f09
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-and-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ jobs:

- name: Push to GHCR
run: |
docker push ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}-python_api:${{ github.run_number }}
docker push ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}-python_api:latest
docker push ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.run_number }}
docker push ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}:latest
- name: Print image URL
run: echo "Image pushed to ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}-python_api:${{ github.run_number }} and ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}-python_api:latest"
run: echo "Image pushed to ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.run_number }} and ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}:latest"

0 comments on commit ed92f09

Please sign in to comment.