diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 26be385..b405781 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,10 +16,10 @@ jobs: version: ${{ steps.version.outputs.number }} steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup dotnet - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: '8.0.x' @@ -43,16 +43,16 @@ jobs: needs: build steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Login to Dockerhub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - name: Login to GHCR - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ secrets.DOCKER_USERNAME }} @@ -76,7 +76,7 @@ jobs: - name: Build and Push (Dev) if: github.event_name == 'workflow_dispatch' - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: push: true platforms: "linux/amd64,linux/arm64,linux/arm/v7" @@ -86,7 +86,7 @@ jobs: - name: Build and Push (Main) if: github.ref == 'refs/heads/main' - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: push: true platforms: "linux/amd64,linux/arm64,linux/arm/v7" @@ -101,7 +101,7 @@ jobs: if: github.event_name == 'push' && github.ref == 'refs/heads/main' steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Tag Revision run: | git tag -f ${{ needs.build.outputs.version }}