Fix Aptly download URLs to use .zip format

Update Aptly installation to download from version 1.6.2 using .zip files (aptly_1.6.2_linux_*.zip) instead of .tar.gz format. Also update extraction method to use unzip.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Igor Pecovnik
2025-12-28 20:17:51 +01:00
parent 83edc018a6
commit 77cb602740

View File

@@ -186,7 +186,7 @@ jobs:
&& rm -rf /var/lib/apt/lists/*
# Install Aptly from GitHub releases
RUN APTLY_VERSION="1.6.0" && \
RUN APTLY_VERSION="1.6.2" && \
if [ "$(dpkg --print-architecture)" = "amd64" ]; then \
APTLY_ARCH="amd64"; \
elif [ "$(dpkg --print-architecture)" = "arm64" ]; then \
@@ -196,10 +196,10 @@ jobs:
else \
APTLY_ARCH="$(dpkg --print-architecture)"; \
fi && \
wget -q https://github.com/aptly-dev/aptly/releases/download/v${APTLY_VERSION}/aptly_${APTLY_VERSION}_linux_${APTLY_ARCH}.tar.gz && \
tar xzf aptly_${APTLY_VERSION}_linux_${APTLY_ARCH}.tar.gz && \
wget -q https://github.com/aptly-dev/aptly/releases/download/v${APTLY_VERSION}/aptly_${APTLY_VERSION}_linux_${APTLY_ARCH}.zip && \
unzip -q aptly_${APTLY_VERSION}_linux_${APTLY_ARCH}.zip && \
mv aptly_${APTLY_VERSION}_linux_${APTLY_ARCH}/aptly /usr/local/bin/ && \
rm -rf aptly_${APTLY_VERSION}_linux_${APTLY_ARCH}* && \
rm -f aptly_${APTLY_VERSION}_linux_${APTLY_ARCH}.zip \
aptly version
# Install appropriate keyring based on container type