This commit is contained in:
Alexey Pustovalov 2024-03-01 17:50:05 +09:00
parent bb6fc07076
commit c006f9044f
3 changed files with 10 additions and 2 deletions

View File

@ -860,6 +860,9 @@ jobs:
# Chromium on Ubuntu is not available on s390x platform
elif [ "$MATRIX_OS" == "ubuntu" ] && [ "$MATRIX_BUILD" == "web-service" ]; then
platform_list="linux/amd64,linux/arm/v7,linux/arm64"
# Chromium on RedHat is not available on ppc64le, s390x platforms
elif [ "$MATRIX_OS" == "rhel" ] && [ "$MATRIX_BUILD" == "web-service" ]; then
platform_list="linux/amd64,linux/arm64"
else
platform_list=$(jq -r ".[\"os-linux\"].\"$MATRIX_OS\" | join(\",\")" "$MATRIX_FILE")
fi
@ -981,6 +984,13 @@ jobs:
cp -R "/tmp/secrets/" "$CONTEXT/"
ls -lah "$CONTEXT/"
- name: Remove smartmontools
if: ${{ matrix.build == 'agent2' && matrix.os == 'rhel' }}
env:
DOCKERFILES_DIRECTORY: ${{ env.DOCKERFILES_DIRECTORY }}
run: |
sed -i '/smartmontools/d' "$DOCKERFILES_DIRECTORY/agent2/rhel/Dockerfile"
- name: Login to DockerHub
if: ${{ env.AUTO_PUSH_IMAGES == 'true' }}
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0

View File

@ -65,12 +65,10 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
smartmontools \
sudo \
libcurl-minimal" && \
ARCH_SUFFIX="$(arch)"; \
microdnf -y install \
--disableplugin=subscription-manager \
--disablerepo "*" \
--enablerepo "ubi-9-baseos-rpms" \
--enablerepo "rhel-9-for-$ARCH_SUFFIX-baseos-beta-rpms" \
--enablerepo "epel" \
--setopt=install_weak_deps=0 \
--setopt=keepcache=0 \

Binary file not shown.