renew GPG key in ROCm docker image
@@ -50,6 +50,12 @@ class LinuxGenerator:
# Install tools and additional libraries.
if os_name == 'ubuntu':
+ if matrix.rocm is not None:
+ # GPG key has expired in ROCm 4.2 (or earlier) docker images
+ lines += [
+ 'RUN curl -qL https://repo.radeon.com/rocm/rocm.gpg.key | apt-key add -',
+ ]
+
lines += [
'RUN export DEBIAN_FRONTEND=noninteractive && \\',
' apt-get -qqy update && \\',
