Skip to content

Commit

Permalink
Bump GH action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
aldahick committed Mar 30, 2024
1 parent 79b7f5b commit fe5b19f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/publish-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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/*
Expand All @@ -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 }}
Expand Down

0 comments on commit fe5b19f

Please sign in to comment.