diff --git a/.github/workflows/build.yaml b/.github/workflows/build-libev.yaml similarity index 90% rename from .github/workflows/build.yaml rename to .github/workflows/build-libev.yaml index 85ce649..dd9b542 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build-libev.yaml @@ -17,26 +17,26 @@ jobs: release: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - - uses: docker/setup-qemu-action@v1 + - uses: docker/setup-qemu-action@v3 - - uses: docker/setup-buildx-action@v1 + - uses: docker/setup-buildx-action@v3 - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - name: Login to Github Container Registry - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - uses: docker/build-push-action@v2 + - uses: docker/build-push-action@v5 with: platforms: ${{ env.PLATFORMS }} build-args: | diff --git a/.github/workflows/build-rust.yaml b/.github/workflows/build-rust.yaml index 42549af..0417095 100644 --- a/.github/workflows/build-rust.yaml +++ b/.github/workflows/build-rust.yaml @@ -11,32 +11,32 @@ on: env: PLATFORMS: 'linux/amd64,linux/arm64,linux/arm/v7' IMAGE_NAME: 'easypi/shadowsocks-rust' - SS_RUST_VERSION: '1.17.0' + SS_RUST_VERSION: '1.17.1' jobs: release: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - - uses: docker/setup-qemu-action@v1 + - uses: docker/setup-qemu-action@v3 - - uses: docker/setup-buildx-action@v1 + - uses: docker/setup-buildx-action@v3 - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - name: Login to Github Container Registry - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - uses: docker/build-push-action@v2 + - uses: docker/build-push-action@v5 with: context: rust platforms: ${{ env.PLATFORMS }} @@ -50,7 +50,7 @@ jobs: push: true - if: ${{ always() }} - uses: slackapi/slack-github-action@v1.16.0 + uses: slackapi/slack-github-action@v1.24.0 with: channel-id: github payload: | diff --git a/README.md b/README.md index 7844f3a..38930df 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ docker-shadowsocks-libev ======================== -[![](https://github.com/easypi/docker-shadowsocks-libev/actions/workflows/build.yaml/badge.svg)](https://github.com/EasyPi/docker-shadowsocks-libev) +[![](https://github.com/easypi/docker-shadowsocks-libev/actions/workflows/build-libev.yaml/badge.svg)](https://github.com/EasyPi/docker-shadowsocks-libev) [![release](https://img.shields.io/github/release/EasyPi/docker-shadowsocks-libev.svg)](https://github.com/EasyPi/docker-shadowsocks-libev/releases/latest) [![](http://dockeri.co/image/easypi/shadowsocks-libev)][11]