Skip to content

Commit 2709abd

Browse files
authored
patch RHSA-2022:6838 (#7)
1 parent 7d95751 commit 2709abd

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

.github/workflows/create-release.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,18 @@ jobs:
2828
uses: actions/setup-node@v3
2929
with:
3030
node-version: "14.x"
31-
31+
3232
- name: get excalidraw version
3333
id: excalidraw_version
3434
run: echo "::set-output name=version::$(cat ./APP_VERSION)"
3535

3636
- name: Check out excalidraw
3737
uses: actions/checkout@v3
3838
with:
39-
repository: 'excalidraw/excalidraw'
39+
repository: "excalidraw/excalidraw"
4040
path: excalidraw
4141
ref: v${{ steps.excalidraw_version.outputs.version }}
42-
42+
4343
- name: install packages
4444
working-directory: excalidraw
4545
run: yarn --ignore-optional
@@ -92,10 +92,10 @@ jobs:
9292
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9393
ACI_RELEASE_ID: ${{ needs.create_release.outputs.releaseid }}
9494

95-
# - name: update helm charts appVersion
96-
# uses: peter-evans/repository-dispatch@v2
97-
# with:
98-
# token: ${{ secrets.HELM_REPO_TOKEN }}
99-
# repository: fullstack-devops/helm-charts
100-
# event-type: update_chart_version
101-
# client-payload: '{"chart": "excalidraw", "version": "${{ needs.create_release.outputs.version }}"}'
95+
- name: update helm charts appVersion
96+
uses: peter-evans/repository-dispatch@v2
97+
with:
98+
token: ${{ secrets.HELM_REPO_TOKEN }}
99+
repository: fullstack-devops/helm-charts
100+
event-type: update_chart_version
101+
client-payload: '{"chart": "excalidraw", "version": "${{ needs.create_release.outputs.version }}"}'

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ FROM registry.access.redhat.com/ubi9/nginx-120@sha256:6e091d47bb5d0fe2a3326d3054
44
USER root
55
ARG APP_VERSION
66
RUN echo -e "Nginx Version: $NGINX_VERSION\nApp Version: $APP_VERSION" > /VERSION
7+
8+
# update expat: RHSA-2022:6838
9+
RUN dnf install -y expat-0:2.2.10-12.el9_0.3
10+
711
USER default
812

913
ADD ./excalidraw/build /tmp/src

0 commit comments

Comments
 (0)