From b1ebf2f6a2b9069d36bc539e58a22e325ccc07db Mon Sep 17 00:00:00 2001 From: Gerard Braad Date: Wed, 18 Dec 2024 06:07:20 +0000 Subject: [PATCH] Add action to verify devcontainer base --- .github/workflows/verify-devcontainer-base.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/verify-devcontainer-base.yml diff --git a/.github/workflows/verify-devcontainer-base.yml b/.github/workflows/verify-devcontainer-base.yml new file mode 100644 index 0000000000..c55f1c9563 --- /dev/null +++ b/.github/workflows/verify-devcontainer-base.yml @@ -0,0 +1,15 @@ +name: Verify make cross in devcontainer base +on: + workflow_dispatch: +jobs: + publish_release: + runs-on: ubuntu-latest + steps: + - name: Check out repository code + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Run `make cross` against devcontainer base + run: | + docker run -v `pwd`:/workspaces/crc registry.access.redhat.com/ubi9/go-toolset:latest \ + sh -c "cd /workspaces/crc && git config --global --add safe.directory /workspaces/crc && make cross"