diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index 5396ed8..9a65343 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -16,18 +16,18 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - 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 - name: Login to DockerHub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Cache Docker layers - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: /tmp/.buildx-cache key: ${{ runner.os }}-buildx-${{ github.sha }} @@ -36,7 +36,7 @@ jobs: - name: Build a dev image id: docker_build_dev - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: . file: ./Dockerfile.dev @@ -56,7 +56,7 @@ jobs: - name: Build a prod image id: docker_build_prod - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: . file: ./Dockerfile @@ -77,7 +77,7 @@ jobs: - name: Publish image if: ${{ github.event_name == 'release' }} - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: . file: ./Dockerfile