Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.245.2/containers/rust/.devcontainer/base.Dockerfile
# See here for image contents: https://github.com/devcontainers/images/tree/main/src/rust

# [Choice] Debian OS version (use bullseye on local arm64/Apple Silicon): buster, bullseye
ARG VARIANT="buster"
FROM mcr.microsoft.com/vscode/devcontainers/rust:0-${VARIANT}
ARG VARIANT="bookworm"
FROM mcr.microsoft.com/devcontainers/rust:1-${VARIANT}

# [Optional] Uncomment this section to install additional packages.
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
Expand Down
9 changes: 4 additions & 5 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.245.2/containers/rust
// https://github.com/devcontainers/images/tree/main/src/rust
{
"name": "Rust",
"build": {
"dockerfile": "Dockerfile",
"args": {
// Use the VARIANT arg to pick a Debian OS version: buster, bullseye
// Use bullseye when on local on arm64/Apple Silicon.
"VARIANT": "bullseye"
// Use the VARIANT arg to pick a Debian OS version: bookworm, bullseye
"VARIANT": "bookworm"
}
},
"runArgs": [
Expand Down Expand Up @@ -40,7 +39,7 @@
"files.watcherExclude": {
"**/target/**": true
},
"rust-analyzer.checkOnSave.command": "clippy"
"rust-analyzer.check.command": "clippy"
},
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,15 @@ jobs:
contents: read #note: for private repos setting packages to write, will reset all other permissions to none (weird?)
needs: [versioning, app, image]
with:
registry: ghcr.io/${{ github.repository_owner }}
chart-repository-prefix: charts/
image-registry: ghcr.io
image-repository: ${{ github.repository_owner }}/multi-arch-container-rust
chart-registry: ghcr.io
chart-registry-username: ${{ github.repository_owner }}
chart-repository: ${{ github.repository_owner }}/charts/multi-arch-container-rust
chart-path: charts/multi-arch-container-rust
tag: ${{ needs.versioning.outputs.semVer }}
push-chart: ${{ github.ref_name == github.event.repository.default_branch }}
chart-testing-cli-command: install
secrets: inherit

release:
needs: [versioning, app, image, chart]
Expand Down
Loading
Loading