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+ # To get started with Dependabot version updates, you'll need to specify which
2+ # package ecosystems to update and where the package manifests are located.
3+ # Please see the documentation for all configuration options:
4+ # https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+ version : 2
7+ updates :
8+ # Maintain dependencies for GitHub Actions
9+ - package-ecosystem : " github-actions"
10+ directory : " /"
11+ schedule :
12+ interval : " daily"
Original file line number Diff line number Diff line change 1515jobs :
1616
1717 deploy :
18- runs-on : ubuntu-20 .04
18+ runs-on : ubuntu-22 .04
1919
2020 steps :
2121 - name : Source checkout
6060 labels : ${{ steps.docker_meta.outputs.labels }}
6161 tags : |
6262 ghcr.io/${{ github.repository }}:${{ env.BUILD_VERSION }}
63- ghcr.io/${{ github.repository }}:latest
Original file line number Diff line number Diff line change 11name : testssl.sh CI
22
33on :
4- push :
5- paths-ignore :
6- - ' utils/**'
7- - ' doc/**'
8- - ' bin/**'
9- - ' **.md'
10- - ' **.pem'
11- - ' **.pdf'
12- - ' **.html'
13- - ' LICENSE'
14- - ' Dockerfile'
154 pull_request :
16- - ' utils/**'
17- - ' doc/**'
18- - ' bin/**'
19- - ' **.md'
20- - ' **.pem'
21- - ' **.pdf'
22- - ' **.html'
23- - ' LICENSE'
24- - ' Dockerfile'
5+ paths-ignore :
6+ - ' utils/**'
7+ - ' doc/**'
8+ - ' bin/**'
9+ - ' .github/workflows/**.yml'
10+ - ' **.md'
11+ - ' **.pem'
12+ - ' **.pdf'
13+ - ' **.html'
14+ - ' LICENSE'
15+ - ' Dockerfile'
16+ - ' Dockerfile.git'
2517
2618permissions :
2719 contents : read
Original file line number Diff line number Diff line change 1- FROM alpine:3.18
1+ FROM alpine:3.20
2+
3+ WORKDIR /home/testssl/
24
35RUN apk update && \
46 apk upgrade && \
5- apk add --no-cache bash procps drill coreutils libidn curl openssl1.1-compat && \
7+ apk add --no-cache bash procps drill coreutils libidn curl openssl && \
68 addgroup testssl && \
79 adduser -G testssl -g "testssl user" -s /bin/bash -D testssl && \
810 ln -s /home/testssl/testssl.sh /usr/local/bin/ && \
9- mkdir -m 755 -p /home/testssl/etc /home/testssl/bin && \
10- ln -s /usr/bin/openssl1.1 /usr/bin/openssl
11+ mkdir -m 755 -p /home/testssl/etc /home/testssl/bin
12+
1113
1214USER testssl
13- WORKDIR /home/testssl/
1415
1516COPY --chown=testssl:testssl etc/. /home/testssl/etc/
1617COPY --chown=testssl:testssl bin/. /home/testssl/bin/
Original file line number Diff line number Diff line change 11# Build using git repo
22
3- FROM alpine:3.18
3+ FROM alpine:3.20
4+
5+ WORKDIR /home/testssl
46
57ARG BUILD_VERSION
68ARG ARCHIVE_URL=https://github.com/drwetter/testssl.sh/archive/
79ARG URL=https://github.com/drwetter/testssl.sh.git
810
911RUN test -n "${BUILD_VERSION}" \
1012 && apk update \
11- && apk add --no-cache bash procps drill coreutils libidn curl openssl1.1-compat git \
12- && git clone --depth 1 --branch ${BUILD_VERSION} $URL /home/testssl \
13+ && apk add --no-cache bash procps drill coreutils libidn curl openssl git \
14+ && git clone --depth 1 --branch ${BUILD_VERSION} $URL /home/testssl \
1315 && addgroup testssl \
1416 && adduser -G testssl -g "testssl user" -s /bin/bash -D testssl \
1517 && ln -s /home/testssl/testssl.sh /usr/local/bin/ \
16- && mkdir -m 755 -p /home/testssl/etc /home/testssl/bin \
17- && ln -s /usr/bin/openssl1.1 /usr/bin/openssl
18+ && mkdir -m 755 -p /home/testssl/etc /home/testssl/bin
1819
1920USER testssl
20- WORKDIR /home/testssl/
2121
2222ENTRYPOINT ["testssl.sh"]
2323
You can’t perform that action at this time.
0 commit comments