Skip to content

Commit

Permalink
Update devcontainer image hash: ed6e29e
Browse files Browse the repository at this point in the history
  • Loading branch information
tarrencev authored Dec 18, 2023
1 parent ed6e29e commit 1fc027d
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// https://github.com/microsoft/vscode-dev-containers/tree/v0.245.2/containers/rust
{
"name": "Rust",
"image": "ghcr.io/dojoengine/dojo-dev:2e8cd62",
"image": "ghcr.io/dojoengine/dojo-dev:ed6e29e",
"runArgs": [
"--cap-add=SYS_PTRACE",
"--security-opt",
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
test:
runs-on: ubuntu-latest-16-cores
container:
image: ghcr.io/dojoengine/dojo-dev:2e8cd62
image: ghcr.io/dojoengine/dojo-dev:ed6e29e
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -30,7 +30,7 @@ jobs:
ensure-wasm:
runs-on: ubuntu-latest
container:
image: ghcr.io/dojoengine/dojo-dev:2e8cd62
image: ghcr.io/dojoengine/dojo-dev:ed6e29e
steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
dojo-core-test:
runs-on: ubuntu-latest
container:
image: ghcr.io/dojoengine/dojo-dev:2e8cd62
image: ghcr.io/dojoengine/dojo-dev:ed6e29e
steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
Expand All @@ -72,7 +72,7 @@ jobs:
dojo-spawn-and-move-example-test:
runs-on: ubuntu-latest
container:
image: ghcr.io/dojoengine/dojo-dev:2e8cd62
image: ghcr.io/dojoengine/dojo-dev:ed6e29e
steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
Expand All @@ -81,7 +81,7 @@ jobs:
clippy:
runs-on: ubuntu-latest
container:
image: ghcr.io/dojoengine/dojo-dev:2e8cd62
image: ghcr.io/dojoengine/dojo-dev:ed6e29e
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -92,7 +92,7 @@ jobs:
fmt:
runs-on: ubuntu-latest
container:
image: ghcr.io/dojoengine/dojo-dev:2e8cd62
image: ghcr.io/dojoengine/dojo-dev:ed6e29e
steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
Expand All @@ -101,7 +101,7 @@ jobs:
docs:
runs-on: ubuntu-latest
container:
image: ghcr.io/dojoengine/dojo-dev:2e8cd62
image: ghcr.io/dojoengine/dojo-dev:ed6e29e
steps:
- uses: actions/checkout@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/devcontainer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,12 @@ jobs:
uses: actions/checkout@v2

- name: Update devcontainer.json
run: sed -i "s|ghcr.io/dojoengine/dojo-dev:[a-zA-Z0-9._-]*|ghcr.io/dojoengine/dojo-dev:${{ needs.build-and-push.outputs.tag_name }}|" .devcontainer/devcontainer.json
run: sed -i "s|ghcr.io/dojoengine/dojo-dev:ed6e29e[a-zA-Z0-9._-]*|ghcr.io/dojoengine/dojo-dev:${{ needs.build-and-push.outputs.tag_name }}|" .devcontainer/devcontainer.json

- name: Update github action devcontainers
run: |
for file in .github/workflows/*.yml; do
sed -i "s|ghcr.io/dojoengine/dojo-dev:[a-zA-Z0-9._-]*|ghcr.io/dojoengine/dojo-dev:${{ needs.build-and-push.outputs.tag_name }}|" "$file"
sed -i "s|ghcr.io/dojoengine/dojo-dev:ed6e29e[a-zA-Z0-9._-]*|ghcr.io/dojoengine/dojo-dev:${{ needs.build-and-push.outputs.tag_name }}|" "$file"
done
- name: Create Pull Request
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
contents: write
runs-on: ubuntu-latest
container:
image: ghcr.io/dojoengine/dojo-dev:f6a4b8a
image: ghcr.io/dojoengine/dojo-dev:ed6e29e
steps:
- uses: actions/checkout@v3
- uses: cargo-bins/release-pr@v2
Expand Down

0 comments on commit 1fc027d

Please sign in to comment.