Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Commit

Permalink
fix cache & removed march=native
Browse files Browse the repository at this point in the history
  • Loading branch information
DenizUgur committed Jul 6, 2022
1 parent a865f91 commit 3e668d3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,11 @@ jobs:
- name: Build image and push to GitHub Container Registry
uses: docker/build-push-action@v3
with:
cache: cache
push: true
tags: ghcr.io/denizugur/capsc:latest
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max

- name: Inspect image
run: echo ${{ steps.docker_build.outputs.digest }}
run: |
docker buildx imagetools inspect ghcr.io/denizugur/capsc:latest
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ RUN cd FFmpeg && \
./configure \
--prefix="/build" \
--pkg-config-flags="--static" \
--extra-cflags="-I/build/include -march=native" \
--extra-cflags="-I/build/include" \
--extra-ldflags="-L/build/lib" \
--extra-libs="-lpthread -lm" \
--ld="g++" \
Expand Down

0 comments on commit 3e668d3

Please sign in to comment.