1
0
mirror of https://github.com/b4tman/docker-squid.git synced 2025-11-04 11:08:29 +00:00

use submodule

This commit is contained in:
2020-02-02 23:35:13 +03:00
parent ab6974f7b7
commit 88d7aa0bf5
4 changed files with 22 additions and 23 deletions

View File

@@ -19,6 +19,13 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Checkout submodules
shell: bash
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
- name: Build squid image
run: docker build . --file Dockerfile --tag b4tman/squid
@@ -35,6 +42,13 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Checkout submodules
shell: bash
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
- name: Build squid image
run: docker build . --file Dockerfile --tag b4tman/squid