Fix UI bugs, update CI, update gitignore
Some checks failed
Automated Container Build / build-and-push (push) Failing after 25s
Some checks failed
Automated Container Build / build-and-push (push) Failing after 25s
This commit is contained in:
parent
9ae078e47b
commit
2a3aa32996
3 changed files with 50 additions and 25 deletions
|
|
@ -16,10 +16,13 @@ jobs:
|
|||
run: |
|
||||
echo "${{ secrets.FORGEJO_PAT }}" | docker login git.elijahkuntz.com -u "${{ gitea.actor }}" --password-stdin
|
||||
|
||||
- name: Build and Push Image
|
||||
- name: Build and Push Images
|
||||
run: |
|
||||
# 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:]')
|
||||
BASE_IMAGE_PATH=$(echo "git.elijahkuntz.com/${{ gitea.actor }}/${{ github.event.repository.name }}" | tr '[:upper:]' '[:lower:]')
|
||||
|
||||
docker build -t "$IMAGE_PATH" .
|
||||
docker push "$IMAGE_PATH"
|
||||
docker build -t "${BASE_IMAGE_PATH}-frontend:latest" ./frontend
|
||||
docker push "${BASE_IMAGE_PATH}-frontend:latest"
|
||||
|
||||
docker build -t "${BASE_IMAGE_PATH}-backend:latest" ./backend
|
||||
docker push "${BASE_IMAGE_PATH}-backend:latest"
|
||||
Reference in a new issue