diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 7e5b411..9764f9f 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -29,13 +29,13 @@ jobs: steps: - name: Login to DockerHub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Login to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} @@ -90,7 +90,7 @@ jobs: - name: Checkout if: ${{ steps.update_check.outputs.build == 'true' }} - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set build context if: ${{ steps.update_check.outputs.build == 'true' }} @@ -100,7 +100,7 @@ jobs: - name: Rebuild and push image if: ${{ steps.update_check.outputs.build == 'true' }} - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: . file: ${{ steps.build_context.outputs.dockerfile }}