Skip to content

Commit 369844e

Browse files
chore(docker): pin digests docker pin digests (#697)
* chore(docker): pin digests docker pin digests * chore(release): remove dependencies on custom actions for commit --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Luca Corrieri <[email protected]>
1 parent db6cbbb commit 369844e

File tree

2 files changed

+13
-11
lines changed

2 files changed

+13
-11
lines changed

.github/workflows/release.yaml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
permissions:
99
contents: write
1010
packages: write
11+
pull-requests: write
1112

1213
jobs:
1314
goreleaser:
@@ -18,10 +19,6 @@ jobs:
1819
uses: actions/checkout@v5
1920
with:
2021
fetch-depth: 0
21-
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
22-
23-
- name: Fetch all tags
24-
run: git fetch --force --tags
2522

2623
- name: Set up Go
2724
uses: actions/setup-go@v6
@@ -66,11 +63,16 @@ jobs:
6663
yq -i '.version = env(CHART_VERSION)' $CHART_PATH/Chart.yaml
6764
yq -i '.appVersion = env(APP_VERSION)' $CHART_PATH/Chart.yaml
6865
69-
- name: Commit version to repository
70-
uses: stefanzweifel/git-auto-commit-action@v6
71-
with:
72-
commit_message: "chore(release): bump version to ${{ github.ref_name }}"
73-
push_options: --force
66+
- name: Commit version to repository and open PR
67+
run: |
68+
BRANCH_NAME="bump-version-${{ github.ref_name }}"
69+
git config user.name "github-actions[bot]"
70+
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
71+
git add .
72+
git switch -c $BRANCH_NAME
73+
git commit -m "chore(release): bump version to ${{ github.ref_name }}"
74+
git push origin $BRANCH_NAME
75+
gh pr create --fill --base main --head $BRANCH_NAME
7476
7577
build-and-push:
7678
uses: ./.github/workflows/build-and-push.yaml

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Build Burrito UI
44

5-
FROM docker.io/library/node:22.19.0@sha256:6fe286835c595e53cdafc4889e9eff903dd3008a3050c1675809148d8e0df805 AS builder-ui
5+
FROM docker.io/library/node:22.19.0@sha256:afff6d8c97964a438d2e6a9c96509367e45d8bf93f790ad561a1eaea926303d9 AS builder-ui
66

77
WORKDIR /workspace
88
# Copy the node modules manifests
@@ -17,7 +17,7 @@ ENV VITE_API_BASE_URL=/api
1717
RUN yarn build
1818

1919
# Build the manager binary
20-
FROM docker.io/library/golang:1.24.7-alpine@sha256:2bba76c152a3059724bac887e7a24749a0f9a62d49fe7dfa1bcae30ee877e109 AS builder
20+
FROM docker.io/library/golang:1.24.7-alpine@sha256:fc2cff6625f3c1c92e6c85938ac5bd09034ad0d4bc2dfb08278020b68540dbb5 AS builder
2121
ARG TARGETOS
2222
ARG TARGETARCH
2323
ARG PACKAGE=github.com/padok-team/burrito

0 commit comments

Comments
 (0)