Merge pull request #480 from docker/plugins/credentialhelper/context #723
Workflow file for this run
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: Keychain | |
| on: | |
| push: | |
| branches: | |
| - main | |
| tags: | |
| - 'v*' | |
| pull_request: | |
| paths: | |
| - 'store/**' | |
| jobs: | |
| linux-keychain: | |
| permissions: | |
| id-token: write | |
| contents: read | |
| name: LinuxKeychainTests | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| subtest: | |
| - fedora-43-gnome-keyring | |
| - ubuntu-24-gnome-keyring | |
| # disabled kdewallet tests since it prompts for a password in a | |
| # headless environment... need to still fix this | |
| # - fedora-43-kdewallet | |
| # - ubuntu-24-kdewallet | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Hub login | |
| uses: docker/login-action@v3 | |
| with: | |
| username: dockerpublicbot | |
| password: ${{ secrets.DOCKERPUBLICBOT_WRITE_PAT }} | |
| - name: Set up Docker Buildx | |
| id: buildx | |
| uses: docker/setup-buildx-action@v3 | |
| with: | |
| driver: cloud | |
| endpoint: "docker/secrets-engine" | |
| install: true | |
| - name: Test | |
| run: DOCKER_TARGET=${{ matrix.subtest }} make keychain-linux-ci-unit-tests | |
| tests-windows: | |
| permissions: | |
| id-token: write | |
| contents: read | |
| name: WindowsKeychainTests | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: | |
| - windows-2022 | |
| - windows-2025 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: go.work | |
| - name: Test keychain | |
| run: make keychain-unit-tests | |
| tests-macos: | |
| permissions: | |
| id-token: write | |
| contents: read | |
| name: MacOSKeychainTests | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: | |
| - macOS-26 | |
| - macOS-15 | |
| - macOS-14 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: go.work | |
| - name: Test keychain | |
| run: make keychain-unit-tests |