Skip to content

Commit

Permalink
Remove version prefix v from container filename
Browse files Browse the repository at this point in the history
  • Loading branch information
apyrgio committed Nov 6, 2024
1 parent 9193204 commit 96aa56a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/scan_released.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,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 | jq -r '.tag_name')
CONTAINER_FILENAME=container-${VERSION}-i686.tar.gz
CONTAINER_FILENAME=container-${VERSION:1}-i686.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
Expand Down

0 comments on commit 96aa56a

Please sign in to comment.