force lowercase prior to build
Some checks failed
Automated Container Build / build-and-push (push) Failing after 8s

This commit is contained in:
Elijah 2026-05-20 18:35:36 -07:00
parent 84fae59d4c
commit 8be8f18b2a

View file

@ -18,5 +18,8 @@ jobs:
- name: Build and Push Image
run: |
docker build -t git.elijahkuntz.com/${{ gitea.actor }}/${{ github.event.repository.name }}:latest .
docker push git.elijahkuntz.com/${{ gitea.actor }}/${{ github.event.repository.name }}:latest
# Force the entire image path string to lowercase dynamically
IMAGE_PATH=$(echo "git.elijahkuntz.com/${{ gitea.actor }}/${{ github.event.repository.name }}:latest" | tr '[:upper:]' '[:lower:]')
docker build -t "$IMAGE_PATH" .
docker push "$IMAGE_PATH"