@@ -62,24 +62,24 @@ jobs:
62
62
${{ runner.os }}-buildx-cache-
63
63
64
64
- name : Setup QEMU
65
- uses : docker/setup-qemu-action@v1
65
+ uses : docker/setup-qemu-action@v2
66
66
67
67
- name : Login into Docker Hub
68
- uses : docker/login-action@v1
68
+ uses : docker/login-action@v2
69
69
with :
70
70
username : auguwu
71
71
password : ${{ secrets.DOCKER_PASSWORD }}
72
72
73
73
- name : Login into GitHub Container Registry
74
- uses : docker/login-action@v1
74
+ uses : docker/login-action@v2
75
75
with :
76
76
registry : ghcr.io
77
77
username : ${{ secrets.GHCR_USERNAME }}
78
78
password : ${{ secrets.GITHUB_TOKEN }}
79
79
80
80
# TODO: support ARM64
81
81
- name : Build x86_64 image
82
- uses : docker/build-push-action@v2
82
+ uses : docker/build-push-action@v3
83
83
with :
84
84
context : .
85
85
file : ./Dockerfile
@@ -114,8 +114,12 @@ jobs:
114
114
run : |
115
115
kubectl set image deployment/hazel hazel=auguwu/hazel:${{ steps.tag.outputs.tag }}
116
116
kubectl set image deployment/maven hazel=auguwu/hazel:${{ steps.tag.outputs.tag }}
117
+ kubectl set image deployment/maven --namespace noelware hazel=auguwu/hazel:${{ steps.tag.outputs.tag }}
118
+ kubectl set image statefulset/cdn --namespace noelware auguwu/hazel:${{ steps.tag.outputs.tag }}
117
119
118
- - name : Deploy to the bot
120
+ - name : Deploy to Kubernetes!
119
121
run : |
120
122
kubectl rollout status deployment/hazel
121
123
kubectl rollout status deployment/maven
124
+ kubectl rollout status --namespace noelware deployment/maven
125
+ kubectl rollout status --namespace noelware statefulset/cdn
0 commit comments