Skip to content

Commit fd8569e

Browse files
author
Gromit
committed
Auto generated from templates by gromit
1 parent 6b28385 commit fd8569e

6 files changed

Lines changed: 180 additions & 216 deletions

File tree

.github/workflows/drift-check.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Generated by: gromit policy
2+
# This file is managed by gromit, do not edit by hand.
3+
# The check logic lives in TykTechnologies/github-actions.
4+
name: Drift Check
5+
on:
6+
pull_request:
7+
jobs:
8+
drift:
9+
uses: TykTechnologies/github-actions/.github/workflows/drift-check.yml@production

.github/workflows/release.yml

Lines changed: 133 additions & 214 deletions
Large diffs are not rendered by default.

.github/workflows/zizmor.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Generated by: gromit policy
2+
# This file is managed by gromit, do not edit by hand.
3+
name: zizmor
4+
on:
5+
pull_request:
6+
paths:
7+
- ".github/workflows/**"
8+
- ".github/actions/**"
9+
push:
10+
branches:
11+
- release-5.8.15
12+
paths:
13+
- ".github/workflows/**"
14+
- ".github/actions/**"
15+
workflow_dispatch:
16+
permissions: {}
17+
jobs:
18+
zizmor:
19+
uses: TykTechnologies/github-actions/.github/workflows/zizmor.yml@production
20+
with:
21+
upload_sarif: true
22+
permissions:
23+
security-events: write
24+
contents: read
25+
actions: read
26+
pull-requests: write

.github/zizmor.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Generated by: gromit policy
2+
# This file is managed by gromit, do not edit by hand.
3+
# zizmor configuration (https://docs.zizmor.sh/configuration/)
4+
rules:
5+
unpinned-uses:
6+
config:
7+
policies:
8+
# First-party refs use mutable tags (production/main) by design.
9+
"TykTechnologies/*": ref-pin
10+
"*": hash-pin

ci/Dockerfile.distroless

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ENV DEBIAN_FRONTEND=noninteractive
1111
# The _ after the pkg name is to match tyk-gateway strictly and not tyk-gateway-fips (for example)
1212
COPY ${BUILD_PACKAGE_NAME}_*${TARGETARCH}.deb /
1313
ARG NONROOT_CHOWN=false
14-
RUN dpkg -i /${BUILD_PACKAGE_NAME}_*${TARGETARCH}.deb && rm /*.deb \
14+
RUN dpkg -i /"${BUILD_PACKAGE_NAME}"_*"${TARGETARCH}".deb && rm /*.deb \
1515
&& chmod -R a+rX /opt/tyk-gateway/ \
1616
&& mkdir -p /opt/tyk-gateway/middleware/bundles \
1717
&& chmod a+rwX /opt/tyk-gateway/middleware /opt/tyk-gateway/middleware/bundles \

ci/Dockerfile.std

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RUN rm -fv /usr/bin/passwd /usr/sbin/adduser || true
1515

1616
# Comment this to test in dev
1717
COPY dist/${BUILD_PACKAGE_NAME}_*_${TARGETARCH}.deb /
18-
RUN dpkg -i /${BUILD_PACKAGE_NAME}_*_${TARGETARCH}.deb && find / -maxdepth 1 -name "*.deb" -delete
18+
RUN dpkg -i /"${BUILD_PACKAGE_NAME}"_*_"${TARGETARCH}".deb && find / -maxdepth 1 -name "*.deb" -delete
1919

2020
# Clean up caches, unwanted .a and .o files
2121
RUN rm -rf /root/.cache \

0 commit comments

Comments
 (0)