Add action to verify devcontainer base #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |