Updated
This commit is contained in:
parent
d1fe8f943d
commit
6013e14371
8
.github/workflows/images_build_test.yml
vendored
8
.github/workflows/images_build_test.yml
vendored
@ -366,6 +366,7 @@ jobs:
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Copy RedHat subscription
|
||||
if: ${{ matrix.os == 'rhel' }}
|
||||
env:
|
||||
CONTEXT: ${{ format('{0}/{1}/{2}', env.DOCKERFILES_DIRECTORY, env.BASE_BUILD_NAME, matrix.os) }}
|
||||
run: |
|
||||
@ -979,6 +980,13 @@ jobs:
|
||||
run: |
|
||||
sed -i '/smartmontools/d' "$DOCKERFILES_DIRECTORY/agent2/rhel/Dockerfile"
|
||||
|
||||
- name: Copy RedHat subscription
|
||||
if: ${{ matrix.os == 'rhel' }}
|
||||
env:
|
||||
CONTEXT: ${{ format('{0}/{1}/{2}', env.DOCKERFILES_DIRECTORY, env.BASE_BUILD_NAME, matrix.os) }}
|
||||
run: |
|
||||
cp -R /tmp/secrets/ $CONTEXT/
|
||||
|
||||
- name: Login to DockerHub
|
||||
if: ${{ env.AUTO_PUSH_IMAGES == 'true' }}
|
||||
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
|
||||
|
||||
Loading…
Reference in New Issue
Block a user