Skip to content

Commit c0549b8

Browse files
authored
chore: CI fixes (release-please, renovate, dockerfiles) (#451)
* chore: prevent release-please from creating PRs not targeting main * ci: move from dependabot to renovate * fix: cross compilation dockerfile
1 parent 707cdd0 commit c0549b8

7 files changed

Lines changed: 9 additions & 8 deletions

File tree

.github/workflows/basic.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Basic checks
33
on:
44
push:
55
branches-ignore:
6+
- renovate/**
67
- release-please-**
78
pull_request:
89
branches-ignore:
@@ -11,7 +12,7 @@ on:
1112
jobs:
1213
basic-checks:
1314
runs-on: ubuntu-latest
14-
if: github.actor != 'dependabot[bot]' && (github.event_name != 'push' || github.repository == 'DIRACGrid/diracx-web')
15+
if: github.event_name != 'push' || github.repository == 'DIRACGrid/diracx-web'
1516
steps:
1617
- uses: actions/checkout@v5
1718
with:

.github/workflows/deployment.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Deployment
33
on:
44
push:
55
branches-ignore:
6-
- dependabot/**
6+
- renovate/**
77
- release-please-**
88
pull_request:
99
branches-ignore:
@@ -12,7 +12,7 @@ on:
1212
jobs:
1313
release-please:
1414
runs-on: ubuntu-latest
15-
if: ${{ github.event_name == 'push' && github.repository == 'DIRACGrid/diracx-web' }}
15+
if: ${{ github.event_name == 'push' && github.repository == 'DIRACGrid/diracx-web' && github.ref_name == 'main' }}
1616
permissions:
1717
contents: write
1818
pull-requests: write

.github/workflows/diracx-web-components-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- 'package.json'
88
- 'package-lock.json'
99
branches-ignore:
10-
- dependabot/**
10+
- renovate/**
1111
- release-please-**
1212
pull_request:
1313
paths:

.github/workflows/diracx-web-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
paths-ignore:
66
- 'packages/extensions/**'
77
branches-ignore:
8-
- dependabot/**
8+
- renovate/**
99
- release-please-**
1010
pull_request:
1111
branches-ignore:

.github/workflows/gubbins-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
paths-ignore:
66
- 'packages/diracx-web/**'
77
branches-ignore:
8-
- dependabot/**
8+
- renovate/**
99
- release-please-**
1010
pull_request:
1111
branches-ignore:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# build stage and the runtime stage into two different steps
33

44
# Stage 1: Build the Next.js application
5-
FROM node:24-alpine AS build
5+
FROM --platform=$BUILDPLATFORM node:24-alpine AS build
66
WORKDIR /app
77

88
# Copy the package.json and package-lock.json files to the working directory

packages/extensions/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# build stage and the runtime stage into two different steps
33

44
# Stage 1: Build the Next.js application
5-
FROM node:24-alpine AS build
5+
FROM --platform=$BUILDPLATFORM node:24-alpine AS build
66
WORKDIR /app
77

88
# Copy the package.json and package-lock.json files to the working directory

0 commit comments

Comments
 (0)