Skip to content

Commit e14d6db

Browse files
author
Alan Christie
committed
ci: Build now pushes latest
1 parent 6eb7331 commit e14d6db

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

.github/workflows/build.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,19 @@ jobs:
5858
uses: docker/setup-qemu-action@v3
5959
- name: Set up Docker Buildx
6060
uses: docker/setup-buildx-action@v3
61+
- name: Login to DockerHub
62+
uses: docker/login-action@v3
63+
with:
64+
username: ${{ secrets.DOCKERHUB_USERNAME }}
65+
password: ${{ secrets.DOCKERHUB_TOKEN }}
6166
- name: Set lower case owner name
6267
run: echo "owner=${OWNER,,}" >> "$GITHUB_ENV"
6368
env:
6469
OWNER: '${{ github.repository_owner }}'
65-
- name: Build
70+
- name: Build and Push (Latest)
6671
uses: docker/build-push-action@v6
6772
with:
6873
context: .
6974
platforms: linux/amd64,linux/arm64
7075
tags: ${{ env.owner }}/squonk2-fastapi-ws-event-stream:latest
76+
push: true

.github/workflows/tag.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
run: echo "owner=${OWNER,,}" >> "$GITHUB_ENV"
4343
env:
4444
OWNER: '${{ github.repository_owner }}'
45-
- name: Build and Push
45+
- name: Build and Push (Tag)
4646
uses: docker/build-push-action@v6
4747
with:
4848
context: .

logging.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@
3232
"propagate": "false"
3333
},
3434
"uvicorn.access": {
35-
"level": "DEBUG",
35+
"level": "INFO",
3636
"propagate": "false"
3737
},
3838
"uvicorn.error": {
3939
"level": "DEBUG",
4040
"propagate": "false"
4141
},
4242
"uvicorn.asgi": {
43-
"level": "DEBUG",
43+
"level": "WARNING",
4444
"propagate": "false"
4545
},
4646
},

0 commit comments

Comments
 (0)