generated from opensafely-core/repo-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d09e51e
commit 64d79eb
Showing
1 changed file
with
27 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -41,9 +41,35 @@ jobs: | |
name: research-template-image | ||
path: /tmp/research-template.tar.gz | ||
|
||
publish: | ||
test-devcontainer-with-research-template: | ||
needs: [build-and-test] | ||
|
||
runs-on: ubuntu-latest | ||
|
||
- name: Checkout research template default branch | ||
uses: actions/checkout@v4 | ||
repository: opensafely/research-template | ||
|
||
- name: Download Docker image | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: research-template-image | ||
path: /tmp/image | ||
|
||
- name: Import Docker image | ||
run: docker load --input /tmp/image/research-template.tar.gz | ||
|
||
- name: Tag Docker image for use with dev container | ||
run: docker tag "$IMAGE_NAME" "$PUBLIC_IMAGE_NAME:latest" | ||
|
||
- name: Build and run dev container task | ||
uses: devcontainers/[email protected] | ||
with: | ||
runCmd: opensafely run run_all | ||
|
||
publish: | ||
needs: [build-and-test, test-devcontainer] | ||
|
||
runs-on: ubuntu-22.04 | ||
|
||
permissions: | ||
|