Skip to content

Commit 5e2d7be

Browse files
committed
Enable devcontainer builds in CICD
1 parent 5f756c3 commit 5e2d7be

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.github/workflows/release.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ jobs:
1616
uses: datajoint/.github/.github/workflows/mkdocs_release.yaml@main
1717
permissions:
1818
contents: write
19-
# devcontainer-build:
20-
# uses: datajoint/.github/.github/workflows/devcontainer-build.yaml@main
21-
# devcontainer-publish:
22-
# needs:
23-
# - devcontainer-build
24-
# uses: datajoint/.github/.github/workflows/devcontainer-publish.yaml@main
25-
# secrets:
26-
# DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
27-
# DOCKERHUB_TOKEN: ${{secrets.DOCKERHUB_TOKEN_FOR_ELEMENTS}}
19+
devcontainer-build:
20+
uses: datajoint/.github/.github/workflows/devcontainer-build.yaml@main
21+
devcontainer-publish:
22+
needs:
23+
- devcontainer-build
24+
uses: datajoint/.github/.github/workflows/devcontainer-publish.yaml@main
25+
secrets:
26+
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
27+
DOCKERHUB_TOKEN: ${{secrets.DOCKERHUB_TOKEN_FOR_ELEMENTS}}

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ on:
44
pull_request:
55
workflow_dispatch:
66
jobs:
7-
# devcontainer-build:
8-
# uses: datajoint/.github/.github/workflows/devcontainer-build.yaml@main
7+
devcontainer-build:
8+
uses: datajoint/.github/.github/workflows/devcontainer-build.yaml@main
99
tests:
1010
runs-on: ubuntu-latest
1111
strategy:

0 commit comments

Comments
 (0)