diff --git a/.github/workflows/test-deployments.yml b/.github/workflows/test-deployments.yml index 45ee78fb7..ecd4b84ff 100644 --- a/.github/workflows/test-deployments.yml +++ b/.github/workflows/test-deployments.yml @@ -68,7 +68,9 @@ jobs: name: ${{ format('{0}:{1}', matrix.distro.name, matrix.distro.version) }} ${{ matrix.arch.gox }} runs-on: ubuntu-latest # iterate over an assortment of popular distribution images from the docker.io/library of vetted images - container: ${{ format('{0}:{1}', matrix.distro.name, matrix.distro.version) }} + container: + image: docker.io/library/${{ format('{0}:{1}', matrix.distro.name, matrix.distro.version) }} + options: --user 0:0 strategy: matrix: distro: @@ -116,10 +118,10 @@ jobs: ls -lR ./release/ case "${{ matrix.distro.type }}" in rpm) - sudo yum install -y ./release/*.${{ matrix.distro.type }} + yum install -y ./release/*.${{ matrix.distro.type }} ;; deb) - sudo apt install -y ./release/*.${{ matrix.distro.type }} + apt install -y ./release/*.${{ matrix.distro.type }} ;; esac