Skip to content

Commit

Permalink
Checout submodules recursively in the workflow, cache docker layers
Browse files Browse the repository at this point in the history
  • Loading branch information
anodar committed Jan 25, 2024
1 parent e71ca4b commit ee8cc8d
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/release-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,23 @@ jobs:
runs-on: ubuntu-8

steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3
with:
driver-opts: network=host

- name: Cache Docker layers
uses: actions/cache@v3
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ hashFiles('Dockerfile') }}
restore-keys: ${{ runner.os }}-buildx-


- name: Check PR Label For Release label
if: ${{ !contains(github.event.*.labels.*.name, 'release') }}
Expand Down

0 comments on commit ee8cc8d

Please sign in to comment.