File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
Load diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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)
1212COPY ${BUILD_PACKAGE_NAME}_*${TARGETARCH}.deb /
1313ARG 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 \
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ RUN rm -fv /usr/bin/passwd /usr/sbin/adduser || true
1515
1616# Comment this to test in dev
1717COPY 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
2121RUN rm -rf /root/.cache \
You can’t perform that action at this time.
0 commit comments