Skip to content
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

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This action will copy a single binary from source container image to a new base (similar to what multistage Docker build does).

Usage

- uses: vrutkovs/action-bin-container@master
  with:
    source_image: source-image:latest
    source_path: /opt/app-root/gobinary
    binary_base: registry.access.redhat.com/ubi8/ubi
    binary_path: /usr/local/bin/my-real-binary
    binary_image: quay.io/vrutkovs/binary:latest

is equivalent to building a new dockerfile:

FROM registry.access.redhat.com/ubi8/ubi
COPY --from=source-image:latest /opt/app-root/gobinary /usr/local/bin/my-real-binary
ENTRYPOINT ["/usr/local/bin/my-real-binary"]

About

This action prepares a new container image with just a single binary fetched from the a different container

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages