Bump github.com/docker/cli from 29.4.3+incompatible to 29.5.1+incompatible #4132
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build | |
| on: | |
| push: | |
| branches: ['main', 'release/**'] | |
| paths: | |
| - '**' | |
| - '!docs/**' # ignore docs changes | |
| - '!**.md' # ignore markdown changes | |
| pull_request: | |
| branches: ['main', 'release/**'] | |
| paths: | |
| - '.github/workflows/build.yml' | |
| - '**.go' | |
| - 'go.*' | |
| - 'cmd/go.*' | |
| - 'Makefile' | |
| - 'Dockerfile' | |
| - 'integration/**' | |
| - 'scripts/**' | |
| - 'ztoc/**' # Includes flatbuf + C files | |
| - '!benchmark/**' | |
| env: | |
| GOTESTSUM_VERSION: 1.13.0 | |
| jobs: | |
| setup: | |
| uses: ./.github/workflows/setup.yml | |
| test: | |
| needs: setup | |
| runs-on: ${{ fromJSON(needs.setup.outputs.runner-labels)[matrix.os] }} | |
| strategy: | |
| matrix: | |
| os: ${{ fromJSON(needs.setup.outputs.available-runners) }} | |
| go-version: ['1.25.9', '1.26.0'] | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version: ${{ matrix.go-version }} | |
| - name: Install zlib static on AL2 ARM instances | |
| if: matrix.os == 'al2-arm' | |
| run: dnf install zlib-static.aarch64 -y | |
| - run: make | |
| - run: make test-with-coverage | |
| - name: Show test coverage | |
| run: make show-test-coverage | |
| # This is a temporary workaround to ensure we are testing our packages | |
| # that require root (currently only the snapshot package). | |
| # ref: https://github.com/awslabs/soci-snapshotter/issues/1878 | |
| test-root: | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| matrix: | |
| go-version: ['1.25.9', '1.26.0'] | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version: ${{ matrix.go-version }} | |
| # Only snapshot package has tests that require root | |
| - run: sudo -E env PATH=$PATH go test ./snapshot -test.root | |
| integration: | |
| needs: setup | |
| runs-on: ${{ fromJSON(needs.setup.outputs.runner-labels)[matrix.os] }} | |
| timeout-minutes: 60 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: ${{ fromJSON(needs.setup.outputs.available-runners) }} | |
| go-version: ['1.25.9', '1.26.0'] | |
| containerd: ["1.7.30", "2.1.6", "2.2.2"] | |
| env: | |
| DOCKER_BUILD_ARGS: "CONTAINERD_VERSION=${{ matrix.containerd }}" | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version: ${{ matrix.go-version }} | |
| - name: Install gotestsum | |
| run: go install gotest.tools/gotestsum@v${{ env.GOTESTSUM_VERSION }} | |
| - name: Install zlib static on AL2 ARM instances | |
| if: matrix.os == 'al2-arm' | |
| run: dnf install zlib-static.aarch64 -y | |
| - name: Run integration tests | |
| run: | | |
| if [[ "${{ matrix.os }}" == "ubuntu-x86" ]]; then | |
| SKIP_SYSTEMD_TESTS=1 | |
| fi | |
| SKIP_SYSTEMD_TESTS=$SKIP_SYSTEMD_TESTS make integration-with-coverage | |
| - name: Show test coverage | |
| run: make show-integration-coverage |