Skip to content

Commit 8bf745c

Browse files
authored
CI: update some actions, pin version (#223)
1 parent fe511dc commit 8bf745c

File tree

3 files changed

+12
-10
lines changed

3 files changed

+12
-10
lines changed

.github/workflows/build.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
timeout-minutes: 1
1414
steps:
1515
- uses: actions/checkout@v4
16-
- uses: oven-sh/setup-bun@v1
16+
- uses: oven-sh/setup-bun@v2
1717

1818
- uses: actions/cache@v4
1919
id: playwright-cache
@@ -34,7 +34,7 @@ jobs:
3434
timeout-minutes: 1
3535
steps:
3636
- uses: actions/checkout@v4
37-
- uses: oven-sh/setup-bun@v1
37+
- uses: oven-sh/setup-bun@v2
3838

3939
- run: bun install --frozen-lockfile
4040
- run: bun run build
@@ -94,7 +94,9 @@ jobs:
9494
- name: get date
9595
run: echo "GIT_TIMESTAMP=$(git show -s --format=%cI)" >> $GITHUB_ENV
9696

97-
- uses: docker/build-push-action@v5
97+
- uses: docker/build-push-action@v6
98+
env:
99+
DOCKER_BUILD_SUMMARY: false
98100
with:
99101
build-args: |
100102
VITE_APP_GIT_SHA=${{ github.event_name == 'push' && github.sha || github.event.pull_request.head.sha }}

.github/workflows/preview.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
return response.data.id
7373
7474
- uses: actions/checkout@v4
75-
- uses: oven-sh/setup-bun@v1
75+
- uses: oven-sh/setup-bun@v2
7676

7777
- name: Download build artifacts
7878
uses: actions/download-artifact@v4
@@ -111,7 +111,7 @@ jobs:
111111
git push origin connect/pr-${{ needs.pr.outputs.number }} --force
112112
113113
- name: Comment URL on PR
114-
uses: thollander/actions-comment-pull-request@v3
114+
uses: thollander/actions-comment-pull-request@24bffb9b452ba05a4f3f77933840a6a841d1b32b
115115
with:
116116
message: |
117117
<!-- _(run_id **${{ github.run_id }}**)_ -->

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ ARG VITE_APP_GIT_SHA=unknown
1010
ARG VITE_APP_GIT_TIMESTAMP=1970-01-01T00:00:00Z
1111
ARG SENTRY_AUTH_TOKEN
1212
ARG SENTRY_RELEASE
13-
ENV VITE_APP_GIT_SHA $VITE_APP_GIT_SHA
14-
ENV VITE_APP_GIT_TIMESTAMP $VITE_APP_GIT_TIMESTAMP
15-
ENV SENTRY_AUTH_TOKEN $SENTRY_AUTH_TOKEN
16-
ENV SENTRY_RELEASE $SENTRY_RELEASE
13+
ENV VITE_APP_GIT_SHA=$VITE_APP_GIT_SHA
14+
ENV VITE_APP_GIT_TIMESTAMP=$VITE_APP_GIT_TIMESTAMP
15+
ENV SENTRY_AUTH_TOKEN=$SENTRY_AUTH_TOKEN
16+
ENV SENTRY_RELEASE=$SENTRY_RELEASE
1717

1818
# *** final image ***
1919
FROM nginx:1.24
2020
COPY nginx.conf /etc/nginx/conf.d/default.conf
2121
COPY --from=build /app/dist /usr/share/nginx/html
22-
EXPOSE 80
22+
EXPOSE 80

0 commit comments

Comments
 (0)