diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index ec3df65..d9e5480 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -7,13 +7,13 @@ jobs: runs-on: nephnet-amd64 steps: - name: Checkout Repository - uses: actions/checkout@v3 + uses: https://gitea.com/actions/checkout@v3 - name: Docker Build run: | docker build --pull -t code.nephatrine.net/nephnet/nginx-h5ai:${{ gitea.ref_name }}-cached --target builder ${{ gitea.workspace }} docker build --pull -t code.nephatrine.net/nephnet/nginx-h5ai:${{ gitea.ref_name }}-amd64 ${{ gitea.workspace }} - name: Docker Login - uses: actions/docker-login@v2 + uses: https://github.com/docker/login-action@v3 with: registry: code.nephatrine.net username: ${{ gitea.actor }} @@ -21,7 +21,7 @@ jobs: - name: Docker Push run: docker push code.nephatrine.net/nephnet/nginx-h5ai:${{ gitea.ref_name }}-amd64 - name: Notify Discord - uses: actions/discord-status@v1 + uses: https://github.com/sarisia/actions-status-discord@v1 if: always() with: title: "Container Build (X86_64)" @@ -31,13 +31,13 @@ jobs: runs-on: nephnet-arm64 steps: - name: Checkout Repository - uses: actions/checkout@v3 + uses: https://gitea.com/actions/checkout@v3 - name: Docker Build run: | docker build --pull -t code.nephatrine.net/nephnet/nginx-h5ai:${{ gitea.ref_name }}-cached --target builder ${{ gitea.workspace }} docker build --pull -t code.nephatrine.net/nephnet/nginx-h5ai:${{ gitea.ref_name }}-arm64v8 ${{ gitea.workspace }} - name: Docker Login - uses: actions/docker-login@v2 + uses: https://github.com/docker/login-action@v3 with: registry: code.nephatrine.net username: ${{ gitea.actor }} @@ -45,7 +45,7 @@ jobs: - name: Docker Push run: docker push code.nephatrine.net/nephnet/nginx-h5ai:${{ gitea.ref_name }}-arm64v8 - name: Notify Discord - uses: actions/discord-status@v1 + uses: https://github.com/sarisia/actions-status-discord@v1 if: always() with: title: "Container Build (AARCH64)" @@ -55,7 +55,7 @@ jobs: runs-on: nephnet steps: - name: Docker Login - uses: actions/docker-login@v2 + uses: https://github.com/docker/login-action@v3 with: registry: code.nephatrine.net username: ${{ gitea.actor }} @@ -71,13 +71,13 @@ jobs: steps: - name: Check Base Image if: github.event_name != 'push' - uses: actions/docker-base-image-check@v1.2.1 + uses: https://github.com/lucacome/docker-image-update-checker@v1 id: checkbase with: base-image: nephatrine/nginx-php:latest-amd64 image: nephatrine/nginx-h5ai:latest-amd64 - name: Docker Login - uses: actions/docker-login@v2 + uses: https://github.com/docker/login-action@v3 with: username: ${{ secrets.DOCKER_USER }} password: ${{ secrets.DOCKER_PASS }} @@ -87,7 +87,7 @@ jobs: docker push nephatrine/nginx-h5ai:latest-amd64 - name: Notify Discord if: github.event_name == 'push' || steps.checkbase.outputs.needs-updating == 'true' - uses: actions/discord-status@v1 + uses: https://github.com/sarisia/actions-status-discord@v1 with: title: "DockerHub: nginx-h5ai" description: "The container image was pushed to [DockerHub](https://hub.docker.com/repository/docker/nephatrine/nginx-h5ai/general).\nPull `nephatrine/nginx-h5ai:latest-amd64` for the newest image." @@ -99,7 +99,7 @@ jobs: runs-on: nephnet-arm64 steps: - name: Docker Login - uses: actions/docker-login@v2 + uses: https://github.com/docker/login-action@v3 with: username: ${{ secrets.DOCKER_USER }} password: ${{ secrets.DOCKER_PASS }} @@ -112,7 +112,7 @@ jobs: runs-on: nephnet steps: - name: Docker Login - uses: actions/docker-login@v2 + uses: https://github.com/docker/login-action@v3 with: username: ${{ secrets.DOCKER_USER }} password: ${{ secrets.DOCKER_PASS }} @@ -127,9 +127,9 @@ jobs: docker manifest push --purge nephatrine/nginx-h5ai:0 docker manifest push --purge nephatrine/nginx-h5ai:latest - name: Checkout Repository - uses: actions/checkout@v3 + uses: https://gitea.com/actions/checkout@v3 - name: Docker Describe - uses: actions/dockerhub-update-description@v3 + uses: https://github.com/peter-evans/dockerhub-description@v3 with: username: ${{ secrets.DOCKER_USER }} password: ${{ secrets.DOCKER_PASS }}