Skip to content

Commit c2ce84c

Browse files
authored
Update dockerimage.yml
1 parent 94f1666 commit c2ce84c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/dockerimage.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,15 @@ jobs:
1313
- name: Build the Docker image
1414
run: docker build --tag scrapedia/privoxy:$(date +%s) --file Dockerfile .
1515
working-directory: versions/alpine
16+
17+
install shellcheck:
18+
19+
runs-on: ubuntu-latest
20+
21+
steps:
22+
- name: Install the Docker image
23+
run: |
24+
scversion="stable" # or "v0.4.7", or "latest"
25+
wget -qO- "https://storage.googleapis.com/shellcheck/shellcheck-${scversion?}.linux.x86_64.tar.xz" | tar -xJv
26+
cp "shellcheck-${scversion}/shellcheck" /usr/bin/
27+
shellcheck --version

0 commit comments

Comments
 (0)