-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ci): build images with dockerfile instead of ko (#332)
* chore(ci): build images with dockerfile instead of ko Our Dockerfile includes our migrations and Atlas to execute those migrations. However, the public image we are pushing is built with Ko and excludes these files/tools. This commit switches gorelease to build the image with the included Dockerfile. Signed-off-by: Mikhail Swift <[email protected]> * chore(ci): update witness-run-action, change witness install dir This updates the witness-run-action, and installs witness to a directory outside of the current source directory. This keeps our source git tree clean. Signed-off-by: Mikhail Swift <[email protected]> --------- Signed-off-by: Mikhail Swift <[email protected]>
- Loading branch information
1 parent
ef826f0
commit d7913a6
Showing
3 changed files
with
59 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -86,15 +86,22 @@ jobs: | |
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v3 | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
|
||
- name: Download GoReleaser | ||
run: go install github.com/goreleaser/[email protected] | ||
|
||
- name: Run GoReleaser | ||
uses: testifysec/witness-run-action@85ddab8b46a86b2905a3b547a1806ab264fbb810 | ||
uses: testifysec/witness-run-action@cceed291062b350dc658d7d189933ac47d4f4dec | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_REPOSITORY_OWNER: ${{ github.repository_owner }} | ||
with: | ||
witness-install-dir: /opt/witness | ||
step: "build" | ||
attestations: "github" | ||
command: goreleaser release --clean |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters