Skip to content
This repository has been archived by the owner on Aug 6, 2021. It is now read-only.

Latest commit

 

History

History
41 lines (34 loc) · 1.15 KB

README.md

File metadata and controls

41 lines (34 loc) · 1.15 KB

action-update-docker

This Action checks for available updates to semver-compatible Docker images in Dockerfiles.

  • Supports ARG interpolation
  • All the features common to action-update actions

Simplest setup

- uses: actions/checkout@v2
  # If you use Actions "push" for CI too, a Personal Access Token is required for update PRs to trigger
  with:
    token: ${{ secrets.MY_GITHUB_PAT }}
- uses: actions/setup-go@v2
  with:
    go-version: '1.15.0'
- uses: thepwagner/action-update-docker@main
  with:
    # If you use Actions "pull_request" for CI too, a Personal Access Token is required for update PRs to trigger
    token: ${{ secrets.MY_GITHUB_PAT }}

Private dependencies

If images requires authentication, you can configure before invoking the action:

- uses: actions/checkout@v2
- uses: actions/setup-go@v2
  with:
    go-version: '1.15.0'
- uses: docker/login-action@v1
  with:
    registry: ghcr.io
    username: ${{ github.repository_owner }}
    password: ${{ secrets.MY_GITHUB_PAT }}
- uses: thepwagner/action-update-docker@main
  with:
    token: ${{ secrets.MY_GITHUB_PAT }}