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

⚙️ A GitHub Action to build and publish multi platform Docker images based on changed paths

License

Notifications You must be signed in to change notification settings

dawidd6/action-docker-publish-changed

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build and publish changed Docker image for multiple platforms GitHub Action

An action that examines which paths were modified by pushed commits and determines which images should be built and published.

Uses buildx under the hood for building multi platform images.

Usage

If username or password inputs are not provided, images will not be pushed to DockerHub.

- name: Checkout code
  uses: actions/checkout@v2
- name: Publish changed images
  uses: dawidd6/action-docker-publish-changed@v3
  with:
    username: ${{secrets.USER}}
    password: ${{secrets.PASS}}
    platforms: linux/amd64,linux/arm64,linux/arm
    tag: latest