Skip to content

Commit

Permalink
use same docker image for devcontainer and CI
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarTawfik committed Oct 31, 2023
1 parent 7bb650b commit 6522937
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/_jobs_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ on:

jobs:
run:
runs-on: "ubuntu-22.04" # _SLANG_DEV_CONTAINER_BASE_IMAGE_ (keep in sync)
# _SLANG_DEV_CONTAINER_BASE_IMAGE_ (keep in sync)
runs-on: "ubuntu-latest"
container: "mcr.microsoft.com/devcontainers/base:ubuntu-22.04"

steps:
#
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/_jobs_github_pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ on:

jobs:
run:
runs-on: "ubuntu-22.04" # _SLANG_DEV_CONTAINER_BASE_IMAGE_ (keep in sync)
# _SLANG_DEV_CONTAINER_BASE_IMAGE_ (keep in sync)
runs-on: "ubuntu-latest"
container: "mcr.microsoft.com/devcontainers/base:ubuntu-22.04"

environment:
name: "github-pages"
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/_jobs_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ on:

jobs:
changesets:
runs-on: "ubuntu-22.04" # _SLANG_DEV_CONTAINER_BASE_IMAGE_ (keep in sync)
# _SLANG_DEV_CONTAINER_BASE_IMAGE_ (keep in sync)
runs-on: "ubuntu-latest"
container: "mcr.microsoft.com/devcontainers/base:ubuntu-22.04"

steps:
#
Expand Down Expand Up @@ -55,10 +57,12 @@ jobs:

assets:
needs: "changesets"
runs-on: "ubuntu-22.04" # _SLANG_DEV_CONTAINER_BASE_IMAGE_ (keep in sync)

if: "${{ needs.changesets.outputs.hasChangesets == 'false' }}"

# _SLANG_DEV_CONTAINER_BASE_IMAGE_ (keep in sync)
runs-on: "ubuntu-latest"
container: "mcr.microsoft.com/devcontainers/base:ubuntu-22.04"

steps:
#
# _DEVCONTAINER_PREPARATION_STEPS_ (keep in sync)
Expand Down

0 comments on commit 6522937

Please sign in to comment.