Skip to content

Commit

Permalink
chore(ci): fix security scans
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Jan 20, 2025
1 parent ae6667c commit c52c0d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/bin/get-buildx-args
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
if [ -n "$MATRIX_ARCHITECTURE" ] ; then
echo --cache-from "type=local,src=/tmp/.buildx-cache/$MATRIX_ARCHITECTURE"
else
for arch in linux/amd64 linux/arm/v7 linux/arm64 ; do
for arch in linux/amd64 linux/arm64 ; do
echo --cache-from "type=local,src=/tmp/.buildx-cache/$arch"
done
fi
Expand All @@ -23,7 +23,7 @@ if [ "$1" = "load" ] ; then
echo --tag weblate/locale_lint:test
else
# List of platforms
echo --platform "${MATRIX_ARCHITECTURE:-linux/amd64,linux/arm/v7,linux/arm64}"
echo --platform "${MATRIX_ARCHITECTURE:-linux/amd64,linux/arm64}"
# Enable more platforms in future:
# linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/386,linux/ppc64le,linux/s390x

Expand Down
13 changes: 0 additions & 13 deletions .github/workflows/dockerimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ jobs:
strategy:
matrix:
architecture:
- linux/arm/v7
- linux/arm64
env:
MATRIX_ARCHITECTURE: ${{ matrix.architecture }}
Expand Down Expand Up @@ -205,12 +204,6 @@ jobs:
with:
path: /tmp/.buildx-cache/linux/arm64
key: ${{ runner.os }}-buildx-${{ github.sha }}-linux/arm64
- name: Cache Docker layers
uses: actions/cache@v4
id: cache-arm-v7
with:
path: /tmp/.buildx-cache/linux/arm/v7
key: ${{ runner.os }}-buildx-${{ github.sha }}-linux/arm/v7
- name: Cache Docker layers
uses: actions/cache@v4
id: cache-amd64
Expand Down Expand Up @@ -252,12 +245,6 @@ jobs:
with:
path: /tmp/.buildx-cache/linux/arm64
key: ${{ runner.os }}-buildx-${{ github.sha }}-linux/arm64
- name: Cache Docker layers
uses: actions/cache@v4
id: cache-arm-v7
with:
path: /tmp/.buildx-cache/linux/arm/v7
key: ${{ runner.os }}-buildx-${{ github.sha }}-linux/arm/v7
- name: Cache Docker layers
uses: actions/cache@v4
id: cache-amd64
Expand Down

0 comments on commit c52c0d3

Please sign in to comment.