diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 51c5756..f09efc9 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -18,31 +18,31 @@ jobs: timeout-minutes: 30 steps: - name: Check out - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set docker outputs id: docker run: | echo "cert-path=/home/runner/.docker/deploy" >> $GITHUB_OUTPUT - 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: Login to the private registry if: ${{ github.event_name != 'pull_request' }} - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ${{ secrets.DOCKER_REGISTRY_HOST }} username: ${{ secrets.DOCKER_REGISTRY_USER }} password: ${{ secrets.DOCKER_REGISTRY_PASS }} - name: Generate an image metadata id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: flavor: latest=${{ github.ref == 'refs/heads/main' && 'true' || 'false' }} images: ${{ secrets.DOCKER_REGISTRY_HOST }}/universal-redux labels: maintainer=victor@popkov.me - name: Build an image - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: build-args: | APP_BASE_PATH=${{ secrets.APP_PUBLIC_PATH }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c24d380..e9b5201 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,9 +27,9 @@ jobs: node_version: [18.12.0] steps: - name: Check out - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Node.js ${{ matrix.node_version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 id: node with: node-version: ${{ matrix.node_version }} @@ -70,9 +70,9 @@ jobs: node_version: [18.12.0] steps: - name: Check out - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Node.js ${{ matrix.node_version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 id: node with: node-version: ${{ matrix.node_version }}