-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Update pipeline to use new cross compiler docker image
Signed-off-by: Gowtham Suresh Kumar <[email protected]>
- Loading branch information
1 parent
14f5bb7
commit d0f11c1
Showing
4 changed files
with
60 additions
and
18 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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: "Build and export docker image" | ||
description: "Builds and exports the docker images required by Parsec CI" | ||
inputs: | ||
image-name: | ||
required: true | ||
description: "Docker image name" | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Build the docker container | ||
run: pushd e2e_tests/docker_image && docker build -t ${{ inputs.image-name }} -f ${{ inputs.image-name }}.Dockerfile . && popd | ||
shell: bash | ||
- name: Export the docker container | ||
run: docker save ${{ inputs.image-name }} | gzip > /tmp/${{ inputs.image-name }}.tar.gz | ||
shell: bash | ||
- name: Upload artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: ${{ inputs.image-name }} | ||
path: /tmp/${{ inputs.image-name }}.tar.gz |
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
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