Skip to content

Commit

Permalink
add cache
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacome committed Feb 9, 2021
1 parent 24d86ea commit cee57d6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ jobs:
image: amazon-builder:${{ github.sha }}
run: /build.sh
options: -v ${{ github.workspace }}/build/package/rpm:/rpm
cache-from: type=local,src=/tmp/.buildx-cache
- name: Build Image Amazon 2
uses: docker/build-push-action@v2
with:
Expand All @@ -127,6 +128,7 @@ jobs:
image: amazon2-builder:${{ github.sha }}
run: /build.sh
options: -v ${{ github.workspace }}/build/package/rpm:/rpm
cache-from: type=local,src=/tmp/.buildx-cache
- name: Build Image Centos 7
uses: docker/build-push-action@v2
with:
Expand All @@ -144,6 +146,7 @@ jobs:
image: centos7-builder:${{ github.sha }}
run: /build.sh
options: -v ${{ github.workspace }}/build/package/rpm:/rpm
cache-from: type=local,src=/tmp/.buildx-cache
- name: Build Image Ubuntu Xenial
uses: docker/build-push-action@v2
with:
Expand All @@ -162,6 +165,7 @@ jobs:
image: ubuntu-xenial-builder:${{ github.sha }}
run: /build.sh
options: -v ${{ github.workspace }}/build/package/debian:/debian
cache-from: type=local,src=/tmp/.buildx-cache
- name: Build Image Ubuntu Bionic
uses: docker/build-push-action@v2
with:
Expand All @@ -180,6 +184,7 @@ jobs:
image: ubuntu-bionic-builder:${{ github.sha }}
run: /build.sh
options: -v ${{ github.workspace }}/build/package/debian:/debian
cache-from: type=local,src=/tmp/.buildx-cache
- name: Build Image Ubuntu Focal
uses: docker/build-push-action@v2
with:
Expand All @@ -198,6 +203,7 @@ jobs:
image: ubuntu-focal-builder:${{ github.sha }}
run: /build.sh
options: -v ${{ github.workspace }}/build/package/debian:/debian
cache-from: type=local,src=/tmp/.buildx-cache
- name: Build Image Ubuntu Groovy
uses: docker/build-push-action@v2
with:
Expand All @@ -216,3 +222,4 @@ jobs:
image: ubuntu-groovy-builder:${{ github.sha }}
run: /build.sh
options: -v ${{ github.workspace }}/build/package/debian:/debian
cache-from: type=local,src=/tmp/.buildx-cache

0 comments on commit cee57d6

Please sign in to comment.