Skip to content

github-action: provenance docker #268

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Apr 26, 2024
Merged

github-action: provenance docker #268

merged 5 commits into from
Apr 26, 2024

Conversation

v1v
Copy link
Member

@v1v v1v commented Apr 25, 2024

What does this PR do?

Enable the provenance for docker images using the GitHub provenance action.

Implementation details

I used the GitHub action native support to create the labels, build and push the docker images.

Test

I created a test feature branch to test these changes:

and it produced these attestations:

with:
subject-name: ${{ env.DOCKER_IMAGE_NAME }}
subject-digest: ${{ steps.docker-push.outputs.digest }}
push-to-registry: false
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For some reason it's not working even though the docker image can is pushed but the push-to-registry is not working

@v1v v1v requested a review from a team April 25, 2024 17:37
@v1v v1v marked this pull request as ready for review April 25, 2024 17:37
@v1v v1v requested a review from a team as a code owner April 25, 2024 17:37
@v1v v1v self-assigned this Apr 25, 2024
@v1v v1v merged commit e3e580b into elastic:main Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants