force lowercase prior to build
Some checks failed
Automated Container Build / build-and-push (push) Failing after 8s
Some checks failed
Automated Container Build / build-and-push (push) Failing after 8s
This commit is contained in:
parent
84fae59d4c
commit
8be8f18b2a
1 changed files with 5 additions and 2 deletions
|
|
@ -18,5 +18,8 @@ jobs:
|
||||||
|
|
||||||
- name: Build and Push Image
|
- name: Build and Push Image
|
||||||
run: |
|
run: |
|
||||||
docker build -t git.elijahkuntz.com/${{ gitea.actor }}/${{ github.event.repository.name }}:latest .
|
# Force the entire image path string to lowercase dynamically
|
||||||
docker push git.elijahkuntz.com/${{ gitea.actor }}/${{ github.event.repository.name }}:latest
|
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"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue