Skip to content

Commit

Permalink
centos 7 run 5
Browse files Browse the repository at this point in the history
  • Loading branch information
aryanishan1001 committed Mar 18, 2024
1 parent 4b34cb3 commit 4c439b1
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/webserver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,26 +67,25 @@ jobs:
df -i
docker system prune -f
df -h
rm -rf /tmp/buildx-cache/apache_centos7
- name: checkout otel webserver
uses: actions/checkout@v3
- name: setup buildx
id: buildx
uses: docker/setup-buildx-action@master
with:
install: true
- name: cache docker layers
uses: actions/cache@v3
with:
path: /tmp/buildx-cache/
key: apache-centos7-${{ github.sha }}
restore-keys: |
apache-centos7
# - name: cache docker layers
# uses: actions/cache@v3
# with:
# path: /tmp/buildx-cache/
# key: apache-centos7-${{ github.sha }}
# restore-keys: |
# apache-centos7
- name: setup docker image
run: |
cd instrumentation/otel-webserver-module
docker buildx build -t apache_centos7 -f docker/centos7/Dockerfile \
--cache-from type=local,src=/tmp/buildx-cache/apache_centos7 \
--cache-to type=local,dest=/tmp/buildx-cache/apache_centos7-new \
--load .
- name: build
run: |
Expand Down

0 comments on commit 4c439b1

Please sign in to comment.