Skip to content

Commit 6843b0f

Browse files
committed
chore(deps): upgrade workflow deps
1 parent 205980c commit 6843b0f

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

.github/workflows/release-snapshot.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
run: ./gradlew compileKotlin --no-daemon
5353

5454
- name: Setup Docker buildx
55-
uses: docker/setup-buildx-action@v1
55+
uses: docker/setup-buildx-action@v2
5656

5757
- name: Cache Docker layers
5858
uses: actions/cache@v3
@@ -63,24 +63,24 @@ jobs:
6363
${{ runner.os }}-buildx-cache-
6464
6565
- name: Setup QEMU
66-
uses: docker/setup-qemu-action@v1
66+
uses: docker/setup-qemu-action@v2
6767

6868
- name: Login into Docker Hub
69-
uses: docker/login-action@v1
69+
uses: docker/login-action@v2
7070
with:
7171
username: auguwu
7272
password: ${{ secrets.DOCKER_PASSWORD }}
7373

7474
- name: Login into GitHub Container Registry
75-
uses: docker/login-action@v1
75+
uses: docker/login-action@v2
7676
with:
7777
registry: ghcr.io
7878
username: ${{ secrets.GHCR_USERNAME }}
7979
password: ${{ secrets.GITHUB_TOKEN }}
8080

8181
# TODO: support ARM64
8282
- name: Build x86_64 image
83-
uses: docker/build-push-action@v2
83+
uses: docker/build-push-action@v3
8484
with:
8585
context: .
8686
file: ./Dockerfile

.github/workflows/release.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,24 +62,24 @@ jobs:
6262
${{ runner.os }}-buildx-cache-
6363
6464
- name: Setup QEMU
65-
uses: docker/setup-qemu-action@v1
65+
uses: docker/setup-qemu-action@v2
6666

6767
- name: Login into Docker Hub
68-
uses: docker/login-action@v1
68+
uses: docker/login-action@v2
6969
with:
7070
username: auguwu
7171
password: ${{ secrets.DOCKER_PASSWORD }}
7272

7373
- name: Login into GitHub Container Registry
74-
uses: docker/login-action@v1
74+
uses: docker/login-action@v2
7575
with:
7676
registry: ghcr.io
7777
username: ${{ secrets.GHCR_USERNAME }}
7878
password: ${{ secrets.GITHUB_TOKEN }}
7979

8080
# TODO: support ARM64
8181
- name: Build x86_64 image
82-
uses: docker/build-push-action@v2
82+
uses: docker/build-push-action@v3
8383
with:
8484
context: .
8585
file: ./Dockerfile
@@ -114,8 +114,12 @@ jobs:
114114
run: |
115115
kubectl set image deployment/hazel hazel=auguwu/hazel:${{ steps.tag.outputs.tag }}
116116
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 }}
117119
118-
- name: Deploy to the bot
120+
- name: Deploy to Kubernetes!
119121
run: |
120122
kubectl rollout status deployment/hazel
121123
kubectl rollout status deployment/maven
124+
kubectl rollout status --namespace noelware deployment/maven
125+
kubectl rollout status --namespace noelware statefulset/cdn

0 commit comments

Comments
 (0)