Browse Source
Add oathtool to acmetest Docker image for 2FA support
pull/6690/head
Robert Rettig
6 days ago
Failed to extract signature
1 changed files with
7 additions and
2 deletions
-
.github/workflows/DNS.yml
|
|
@ -67,10 +67,15 @@ jobs: |
|
|
TokenName5: ${{ secrets.TokenName5}} |
|
|
TokenName5: ${{ secrets.TokenName5}} |
|
|
steps: |
|
|
steps: |
|
|
- uses: actions/checkout@v4 |
|
|
- uses: actions/checkout@v4 |
|
|
- name: Install oathtool |
|
|
|
|
|
run: sudo apt-get update && sudo apt-get install -y oathtool |
|
|
|
|
|
- name: Clone acmetest |
|
|
- name: Clone acmetest |
|
|
run: cd .. && git clone --depth=1 https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/ |
|
|
run: cd .. && git clone --depth=1 https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/ |
|
|
|
|
|
- name: Ensure oathtool in test container |
|
|
|
|
|
run: | |
|
|
|
|
|
cd ../acmetest |
|
|
|
|
|
# Add oathtool installation to acmetest Dockerfile if it exists |
|
|
|
|
|
if [ -f Dockerfile ]; then |
|
|
|
|
|
sed -i 's/tzdata/tzdata oath-toolkit-oathtool/g' Dockerfile |
|
|
|
|
|
fi |
|
|
- name: Set env file |
|
|
- name: Set env file |
|
|
run: | |
|
|
run: | |
|
|
cd ../acmetest |
|
|
cd ../acmetest |
|
|
|