Skip to content

Commit

Permalink
sync devcontainer and CI images
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarTawfik committed Nov 1, 2023
1 parent de7285a commit de28feb
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# Base Container

# _SLANG_DEV_CONTAINER_BASE_IMAGE_ (keep in sync)
FROM mcr.microsoft.com/devcontainers/base:ubuntu-22.04
FROM mcr.microsoft.com/devcontainers/universal:2.5.8

# Setup ZSH for local development inside the image:
COPY ./scripts/ /home/vscode/
5 changes: 4 additions & 1 deletion .github/workflows/_jobs_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ 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-22.04"
container:
image: "mcr.microsoft.com/devcontainers/universal:2.5.8"

steps:
#
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/_jobs_github_pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ 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-22.04"
container:
image: "mcr.microsoft.com/devcontainers/universal:2.5.8"

environment:
name: "github-pages"
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/_jobs_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ 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-22.04"
container:
image: "mcr.microsoft.com/devcontainers/universal:2.5.8"

steps:
#
Expand Down Expand Up @@ -54,9 +57,12 @@ jobs:
hasChangesets: "${{ steps.changesets.outputs.hasChangesets }}"

assets:
needs: "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-22.04"
container:
image: "mcr.microsoft.com/devcontainers/universal:2.5.8"

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

steps:
Expand Down

0 comments on commit de28feb

Please sign in to comment.