Skip to content

Commit

Permalink
Fix secret generation in linux
Browse files Browse the repository at this point in the history
  • Loading branch information
joecorall committed May 11, 2024
1 parent 3dff5aa commit 77bb13e
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/lint-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: lint-test
on: [push]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: shellcheck *.sh
- uses: hadolint/[email protected]
with:
dockerfile: drupal/Dockerfile
verbose: true

test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v4

- name: install mkcert
shell: bash
run: |-
ARCH="linux/amd64"
if [ "${{ matrix.os }}" = "macos-latest" ]; then
ARCH="darwin/arm64"
elif [ "${{ matrix.os }}" = "windows-latest" ]; then
ARCH="windows/amd64"
fi
curl -JLO "https://dl.filippo.io/mkcert/latest?for=$ARCH"
chmod +x mkcert-v*
cp mkcert-v* /usr/local/bin/mkcert
- name: generate-certs
shell: bash
run: ./generate-certs.sh

- name: generate-secrets
shell: bash
run: ./generate-secrets.sh

0 comments on commit 77bb13e

Please sign in to comment.