diff --git a/.github/workflows/publishImage.yml b/.github/workflows/publishImage.yml index 96aac21..4b2cabe 100644 --- a/.github/workflows/publishImage.yml +++ b/.github/workflows/publishImage.yml @@ -23,7 +23,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v3 with: - node-version: '18.16.x' + node-version: '18.x' cache: 'npm' - name: Install dev dependencies run: npm ci @@ -42,18 +42,18 @@ jobs: contents: read steps: - name: Check out the repo - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Log in to Docker Hub if: ${{ github.event_name != 'pull_request' && vars.DOCKERHUB_IMAGE_NAME != '' }} - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - name: Login to GitHub Container Registry if: ${{ github.event_name != 'pull_request' && vars.GHCR_IMAGE_NAME != '' }} - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.repository_owner }} @@ -61,7 +61,7 @@ jobs: - name: Extract metadata (tags, labels) for Docker id: meta - uses: docker/metadata-action@v3 + uses: docker/metadata-action@v5 with: images: | ${{ vars.DOCKERHUB_IMAGE_NAME }} @@ -75,13 +75,13 @@ jobs: latest=false - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Build and push Docker image - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: . push: ${{ github.event_name != 'pull_request' && !env.ACT}} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3585517..3a95793 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v3 with: - node-version: '18.16.x' + node-version: '18.x' cache: 'npm' - name: Install dev dependencies run: npm ci