This commit is contained in:
Alexey Pustovalov 2024-03-01 15:35:51 +09:00
parent 17745d8f6d
commit bb6fc07076

View File

@ -974,11 +974,12 @@ jobs:
echo 'EOF' >> "$GITHUB_OUTPUT" echo 'EOF' >> "$GITHUB_OUTPUT"
- name: Copy RedHat subscription - name: Copy RedHat subscription
if: ${{ matrix.os == 'rhel' }} if: ${{ matrix.os == 'rhel' && matrix.build != 'snmptraps' }}
env: env:
CONTEXT: ${{ format('{0}/{1}/{2}', env.DOCKERFILES_DIRECTORY, env.BASE_BUILD_NAME, matrix.os) }} CONTEXT: ${{ format('{0}/{1}/{2}', env.DOCKERFILES_DIRECTORY, matrix.build, matrix.os) }}
run: | run: |
cp -R /tmp/secrets/ $CONTEXT/ cp -R "/tmp/secrets/" "$CONTEXT/"
ls -lah "$CONTEXT/"
- name: Login to DockerHub - name: Login to DockerHub
if: ${{ env.AUTO_PUSH_IMAGES == 'true' }} if: ${{ env.AUTO_PUSH_IMAGES == 'true' }}