Skip to content

Commit

Permalink
Fix(ci): let docker context capture .git (#33)
Browse files Browse the repository at this point in the history
This is required by vergen build script.
  • Loading branch information
Myriad-Dreamin authored May 21, 2023
1 parent caf3fd4 commit 489b858
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,13 @@ jobs:
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

# https://stackoverflow.com/questions/71157844/how-can-i-copy-git-directory-to-the-container-with-github-actions
- name: Build and push Docker image
id: build-and-push
uses: docker/[email protected]
with:
push: true
context: .
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: ${{ env.PLATFORMS }}
Expand Down

0 comments on commit 489b858

Please sign in to comment.