diff --git a/.github/workflows/javascript.yml b/.github/workflows/javascript.yml index dd11d05ca..0f04ca372 100644 --- a/.github/workflows/javascript.yml +++ b/.github/workflows/javascript.yml @@ -14,7 +14,7 @@ jobs: check-format: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: node-version: 18.14 @@ -28,12 +28,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up SSH deploy keys for ChartIQ & fonts - uses: webfactory/ssh-agent@v0.7.0 + uses: webfactory/ssh-agent@v0.8.0 with: ssh-private-key: | ${{ secrets.SSH_DEPLOY_KEY_CHARTIQ }} ${{ secrets.SSH_DEPLOY_KEY_FONTS }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: 'recursive' - uses: actions/setup-node@v3 @@ -61,29 +61,29 @@ jobs: if: github.event_name != 'push' || github.ref != 'refs/heads/master' steps: - name: Set up SSH deploy keys for ChartIQ & fonts - uses: webfactory/ssh-agent@v0.7.0 + uses: webfactory/ssh-agent@v0.8.0 with: ssh-private-key: | ${{ secrets.SSH_DEPLOY_KEY_CHARTIQ }} ${{ secrets.SSH_DEPLOY_KEY_FONTS }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: 'recursive' - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Read metadata id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: ${{ env.REGISTRY }}/${{ github.repository }} - name: Log in to Github Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: . ssh: | @@ -105,12 +105,12 @@ jobs: steps: - name: Read metadata id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: ${{ env.REGISTRY }}/${{ github.repository }} flavor: latest=false - name: Log in to Github Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }}