Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Releases: isometry/setup-docker-credential-env

v1.0.0

02 May 17:56
v1.0.0
e93ab79
Compare
Choose a tag to compare
Loading

docker-credential-env Setup Action

A GitHub Action that installs docker-credential-env and configures Docker to use environment variables for registry authentication.

Features

  • Configures Docker (or any OCI client that leverages its credential management system) to authenticate with OCI registries using environment variables
  • Works with GitHub Container Registry, Docker Hub, Quay.io, AWS ECR, and other OCI registries (default: ghcr.io)
  • Uses GitHub Actions runner tool cache for efficient caching
  • Cross-platform support (Linux, macOS, Windows)

Example Usage

- name: Setup docker-credential-env
  uses: isometry/setup-docker-credential-env@v1
  with:
    registries: 'ghcr.io docker.io quay.io'

- name: Build and push
  run: docker build -t ghcr.io/myorg/myapp:latest . && docker push ghcr.io/myorg/myapp:latest
  env:
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}  # for ghcr.io
Morty Proxy This is a proxified and sanitized view of the page, visit original site.