diff --git a/.github/workflows/scan_released.yml b/.github/workflows/scan_released.yml index 54c30a5..85b80b9 100644 --- a/.github/workflows/scan_released.yml +++ b/.github/workflows/scan_released.yml @@ -10,8 +10,8 @@ jobs: strategy: matrix: include: - # - runs-on: ubuntu-latest - # arch: i686 + - runs-on: ubuntu-latest + arch: i686 - runs-on: macos-latest arch: arm64 runs-on: ${{ matrix.runs-on }} @@ -21,7 +21,7 @@ jobs: - name: Download container image for the latest release and load it run: | VERSION=$(curl https://api.github.com/repos/freedomofpress/dangerzone/releases/latest | grep "tag_name" | cut -d '"' -f 4) - CONTAINER_FILENAME=container-${VERSION:1}-${{ matrix.arch }}.tar.gz + CONTAINER_FILENAME=container-$(echo "${VERSION}" | cut -c2-)-${{ matrix.arch }}.tar.gz wget https://github.com/freedomofpress/dangerzone/releases/download/${VERSION}/${CONTAINER_FILENAME} -O ${CONTAINER_FILENAME} docker load -i ${CONTAINER_FILENAME} # NOTE: Scan first without failing, else we won't be able to read the scan