Skip to content

Commit

Permalink
lowercase repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathew Walters authored and Mathew Walters committed Nov 6, 2024
1 parent 3b73b73 commit 502b503
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: CI/CD

on:
push:
Expand All @@ -25,12 +25,12 @@ jobs:

- name: Build Docker image
run: |
docker build -t ghcr.io/${{ github.repository }}/demo-app:${{ github.sha }} .
docker build -t ghcr.io/${{ github.repository_owner | toLowerCase }}/demo-app:${{ github.sha }} .
- name: Push Docker image
run: |
docker push ghcr.io/${{ github.repository }}/demo-app:${{ github.sha }}
docker push ghcr.io/${{ github.repository_owner | toLowerCase }}/demo-app:${{ github.sha }}
- name: Output image tag
run: |
echo "Image: ghcr.io/${{ github.repository }}/demo-app:${{ github.sha }}"
echo "Image: ghcr.io/${{ github.repository_owner | toLowerCase }}/demo-app:${{ github.sha }}"

0 comments on commit 502b503

Please sign in to comment.