From 971d3eef4af32de1c5ca17f4418d8ba359687363 Mon Sep 17 00:00:00 2001 From: Jelle Raaijmakers Date: Wed, 24 May 2023 20:07:34 +0200 Subject: [PATCH] Meta: Hardcode lowercase repository name for devcontainer This should unbreak CI. --- .devcontainer/optimized/.devcontainer.json | 8 ++++---- .github/workflows/dev-container.yml | 9 ++++----- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.devcontainer/optimized/.devcontainer.json b/.devcontainer/optimized/.devcontainer.json index c7c9c44a191..7cd9fa25ba6 100644 --- a/.devcontainer/optimized/.devcontainer.json +++ b/.devcontainer/optimized/.devcontainer.json @@ -1,11 +1,11 @@ // The docker image used below was generated from '.devcontainer/devcontainer.json' // by the '.github/workflows/dev-container.yml' workflow. // -// By building this dev container image in advance, tools -// like GitHub Codespaces (https://containers.dev/supporting) -// do not need to install all the prerequsite dependencies from scratch, +// By building this dev container image in advance, tools +// like GitHub Codespaces (https://containers.dev/supporting) +// do not need to install all the prerequsite dependencies from scratch, // getting you into your development environment faster! { "name": "SerenityOS (Pre-Built Image)", - "image": "ghcr.io/SerenityOS/serenity-devcontainer:base" + "image": "ghcr.io/serenityos/serenity-devcontainer:base" } diff --git a/.github/workflows/dev-container.yml b/.github/workflows/dev-container.yml index be3947750bc..a3b20120e32 100644 --- a/.github/workflows/dev-container.yml +++ b/.github/workflows/dev-container.yml @@ -1,6 +1,6 @@ # This workflow builds a docker image with the Dev Container CLI (https://github.com/devcontainers/cli) -# -name: 'Build Dev Container Image' +# +name: 'Build Dev Container Image' on: workflow_dispatch: push: @@ -9,7 +9,6 @@ on: schedule: # https://crontab.guru/#0_0_*_*_1 - cron: '0 0 * * 1' - permissions: contents: read @@ -25,7 +24,7 @@ jobs: uses: actions/checkout@v3 - name: Login to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v2 with: registry: ghcr.io username: ${{ github.repository_owner }} @@ -34,6 +33,6 @@ jobs: - name: Build Base Dev Container Image uses: devcontainers/ci@v0.3 with: - imageName: ghcr.io/${{ github.repository_owner }}/serenity-devcontainer + imageName: ghcr.io/serenityos/serenity-devcontainer imageTag: base,latest push: always