Skip to content

Commit 5da2c48

Browse files
authored
Merge pull request #3 from HomeDevopsLab:pipeline-fix
fix(pipeline): lowercase repo name
2 parents 0c50cc8 + 633c69d commit 5da2c48

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/cicd.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
echo "VERSION=$VERSION" >> $GITHUB_ENV
2626
echo "::set-output name=version::$VERSION"
2727
- name: Build Docker image
28-
run: docker build -t ghcr.io/${{ github.repository }}/gitops-intro:${{ steps.changelog.outputs.version }} .
28+
run: docker build -t ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}:${{ steps.changelog.outputs.version }} .
2929

3030
- name: Push Docker image
3131
run: docker push ghcr.io/${{ github.repository }}/gitops-intro:${{ steps.changelog.outputs.version }}

0 commit comments

Comments
 (0)