|
@@ -24,14 +24,14 @@ jobs:
|
|
|
shell: bash
|
|
|
|
|
|
- name: Check Out Repo
|
|
|
- uses: actions/checkout@v3
|
|
|
+ uses: actions/checkout@v4
|
|
|
|
|
|
- name: Set up Docker Buildx
|
|
|
- uses: docker/setup-buildx-action@v2
|
|
|
+ uses: docker/setup-buildx-action@v3
|
|
|
id: buildx
|
|
|
|
|
|
- name: Cache Docker layers
|
|
|
- uses: actions/cache@v3
|
|
|
+ uses: actions/cache@v4
|
|
|
with:
|
|
|
path: /tmp/.buildx-cache
|
|
|
key: ${{ runner.os }}-buildx-${{ github.sha }}
|
|
@@ -39,13 +39,13 @@ jobs:
|
|
|
${{ runner.os }}-buildx-
|
|
|
|
|
|
- name: Login to Docker Hub
|
|
|
- uses: docker/login-action@v2
|
|
|
+ uses: docker/login-action@v3
|
|
|
with:
|
|
|
username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
|
|
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
|
|
|
|
|
|
- name: Build and push Docker images
|
|
|
- uses: docker/build-push-action@v3
|
|
|
+ uses: docker/build-push-action@v5
|
|
|
id: docker_build_sing_box_core_pre
|
|
|
with:
|
|
|
context: ./sing-box
|
|
@@ -58,7 +58,7 @@ jobs:
|
|
|
cache-to: type=local,dest=/tmp/.buildx-cache-new
|
|
|
|
|
|
- name: Build and push Docker images
|
|
|
- uses: docker/build-push-action@v3
|
|
|
+ uses: docker/build-push-action@v5
|
|
|
id: docker_build_sing_box_core
|
|
|
with:
|
|
|
context: ./sing-box
|