Skip to content

Commit

Permalink
Update docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Guru322 authored Aug 9, 2024
1 parent a08a670 commit 0d15731
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@ jobs:

- name: Build and tag the Docker image
run: |
docker build . --file Dockerfile --tag ghcr.io/${{ github.repository_owner | toLower }}/deploy-guru:${{ github.sha }}
REPO_OWNER=$(echo "${{ github.repository_owner }}" | tr '[:upper:]' '[:lower:]')
docker build . --file Dockerfile --tag ghcr.io/$REPO_OWNER/deploy-guru:${{ github.sha }}
- name: Push the Docker image
run: |
docker push ghcr.io/${{ github.repository_owner | toLower }}/deploy-guru:${{ github.sha }}
REPO_OWNER=$(echo "${{ github.repository_owner }}" | tr '[:upper:]' '[:lower:]')
docker push ghcr.io/$REPO_OWNER/deploy-guru:${{ github.sha }}

0 comments on commit 0d15731

Please sign in to comment.