diff --git a/.github/workflows/build-package.yml b/.github/workflows/build-package.yml index b4af01b..268397a 100644 --- a/.github/workflows/build-package.yml +++ b/.github/workflows/build-package.yml @@ -9,11 +9,11 @@ jobs: build-package: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: '18.x' - - uses: pnpm/action-setup@v2 + - uses: pnpm/action-setup@v3 with: version: 8 - run: pnpm install diff --git a/.github/workflows/publish-image.yml b/.github/workflows/publish-image.yml index 507f7a3..c956681 100644 --- a/.github/workflows/publish-image.yml +++ b/.github/workflows/publish-image.yml @@ -33,28 +33,28 @@ jobs: - linux/amd64 - linux/arm64 steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 - if: ${{ inputs.installReactUtils }} run: npm i @athenajs/react-utils - if: ${{ inputs.copySchema }} run: cp -r gql api/gql - - uses: docker/setup-qemu-action@v2 + - uses: docker/setup-qemu-action@v3 with: platforms: arm64 - - uses: docker/setup-buildx-action@v2 + - uses: docker/setup-buildx-action@v3 - id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: ${{ inputs.imageName }} - - uses: docker/login-action@v2 + - uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.githubToken }} - name: Build digest id: build - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v4 with: file: ${{ inputs.dockerfile }} context: ${{ inputs.directory }} @@ -68,7 +68,7 @@ jobs: digest="${{ steps.build.outputs.digest }}" touch "/tmp/digests/${digest#sha256:}" - name: Upload digest - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: digests path: /tmp/digests/* @@ -80,16 +80,16 @@ jobs: needs: build-image steps: - name: Download digests - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: digests path: /tmp/digests - - uses: docker/setup-buildx-action@v2 + - uses: docker/setup-buildx-action@v3 - id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: ${{ inputs.imageName }} - - uses: docker/login-action@v2 + - uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }}