Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.

zevisert/mre-docker-actions-toolkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minimum Reproducible Example | Build Secret Corruption

Tip

Archiving: Resolved in docker/build-push-action#1433

I've been running into an issue with mounting a zip file as a build secret using the docker/build-push-action. This repo is an attempt at replicating the issue in a minimally reproducible way.

Essentially, I have a "complier" that requires a license which takes the form of a zip file. When mounting the zip file via the docker/build-push-action, the underlying implementation uses docker/actions-toolkit to copy the provided secrets files to a temporary location before actually calling the docker build command. I suspect it's this step that is somehow causing corruption of the zip file license.

My expectation is that a build secret provided as a file is byte-for-byte identical on the host file system as it is within the build when mounted as a secret. Using a SHA256 digest can demonstrate the file being changed.

About

A minimal reproducible example for an issue with zip file handling with docker actions toolkit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors