feat: Add ~/save_snapshot_delayed service with delay, blocking mode, reason tracking, and full documentation #38
Workflow file for this run
This file contains hidden or 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: 'devcontainer CI' | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| build_devcontainer: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout from github | |
| uses: actions/checkout@v3 | |
| - name: extract the github reference | |
| run: echo "BRANCH=${GITHUB_REF##*/}" >> $GITHUB_ENV | |
| - name: "image name from repo name" | |
| id: docker_image_name | |
| run: echo "docker_image=${{ github.repository }}" | tr '[:upper:]' '[:lower:]' |sed 's/[^0-9,a-z,A-Z,=,_,\/]/-/g' >>${GITHUB_OUTPUT} | |
| - name: setup buildx | |
| uses: docker/setup-buildx-action@v2 | |
| - name: Build and run dev container task | |
| uses: devcontainers/ci@v0.3 | |
| with: | |
| imageName: devcontainer/${{ steps.docker_image_name.outputs.docker_image }} | |
| configFile: ./.devcontainer/devcontainer.json | |
| push: never | |
| cacheFrom: type=gha | |
| cacheTo: type=gha,mode=max |