Skip to content

Commit a6b0291

Browse files
build: update CI/CD to latest (#128)
Signed-off-by: Berend Sliedrecht <berend@animo.id>
1 parent 51052ef commit a6b0291

2 files changed

Lines changed: 8 additions & 13 deletions

File tree

.github/workflows/cd.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,20 @@ jobs:
2222
uses: actions/checkout@v6
2323

2424
- name: Log in to the Container registry
25-
uses: docker/login-action@v3
25+
uses: docker/login-action@v4
2626
with:
2727
registry: ${{ env.REGISTRY }}
2828
username: ${{ github.actor }}
2929
password: ${{ secrets.GITHUB_TOKEN }}
3030

3131
- name: Extract metadata (tags, labels) for Docker
3232
id: meta
33-
uses: docker/metadata-action@v5
33+
uses: docker/metadata-action@v6
3434
with:
3535
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/${{ env.AGENT }}
3636

3737
- name: Build and push Docker image
38-
uses: docker/build-push-action@v6
38+
uses: docker/build-push-action@v7
3939
with:
4040
context: .
4141
file: "agent/Dockerfile"
@@ -58,28 +58,28 @@ jobs:
5858
- name: Checkout repository
5959
uses: actions/checkout@v6
6060

61-
- uses: pnpm/action-setup@v4
61+
- uses: pnpm/action-setup@v6
6262

6363
- name: Install dependencies
6464
run: pnpm install --no-frozen-lockfile
6565

6666
- run: NEXT_PUBLIC_API_URL=https://playground.animo.id pnpm build
6767

6868
- name: Log in to the Container registry
69-
uses: docker/login-action@v3
69+
uses: docker/login-action@v4
7070
with:
7171
registry: ${{ env.REGISTRY }}
7272
username: ${{ github.actor }}
7373
password: ${{ secrets.GITHUB_TOKEN }}
7474

7575
- name: Extract metadata (tags, labels) for Docker
7676
id: meta
77-
uses: docker/metadata-action@v5
77+
uses: docker/metadata-action@v6
7878
with:
7979
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/${{ env.APP }}
8080

8181
- name: Build and push Docker image
82-
uses: docker/build-push-action@v6
82+
uses: docker/build-push-action@v7
8383
with:
8484
context: ./app
8585
push: true

.github/workflows/ci.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,7 @@ jobs:
1616
- name: Checkout Repo
1717
uses: actions/checkout@v6
1818

19-
- uses: pnpm/action-setup@v4
20-
- name: Setup NodeJS
21-
uses: actions/setup-node@v6
22-
with:
23-
node-version: 22
24-
cache: "pnpm"
19+
- uses: pnpm/action-setup@v6
2520

2621
- name: Install dependencies
2722
run: pnpm install --frozen-lockfile

0 commit comments

Comments
 (0)