Skip to content

Commit

Permalink
amd arch
Browse files Browse the repository at this point in the history
  • Loading branch information
michelson committed Aug 14, 2023
1 parent ce6e031 commit 6337d51
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dockerimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
# Build a Docker image of your application in your registry and tag the image with the $GITHUB_SHA.
- name: Build container image
#run: docker build -t ${{ secrets.REGISTRY_NAME }}/rauversion-ror:$(echo $GITHUB_SHA | head -c7) .
run: docker build --platform=linux/arm64 -t ${{ secrets.REGISTRY_NAME }}/rauversion-ror:main .
run: docker build --platform=linux/amd64 -t ${{ secrets.REGISTRY_NAME }}/rauversion-ror:main .

- name: Log in to DigitalOcean Container Registry with short-lived credentials
run: doctl registry login --expiry-seconds 1200
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ COPY --from=mwader/static-ffmpeg:4.1.4-2 /ffmpeg /ffprobe /usr/local/bin/


RUN apt-get update && \
wget https://github.com/bbc/audiowaveform/releases/download/1.8.1/audiowaveform_1.8.1-1-12_arm64.deb && \
dpkg -i audiowaveform_1.8.1-1-12_arm64.deb || true && \
wget https://github.com/bbc/audiowaveform/releases/download/1.8.1/audiowaveform_1.8.1-1-12_amd64.deb && \
dpkg -i audiowaveform_1.8.1-1-12_amd64.deb || true && \
apt-get -f install -y


Expand Down

0 comments on commit 6337d51

Please sign in to comment.