Bump actions/checkout from 1 to 4 #54
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: devcontainers | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
paths: | |
- ".devcontainer/Dockerfile**" | |
- .github/workflows/devcontainers.yml | |
push: | |
branches: | |
- "**" | |
paths: | |
- ".devcontainer/Dockerfile**" | |
- .github/workflows/devcontainers.yml | |
jobs: | |
devcontainers-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: azure/docker-login@v1 | |
with: | |
login-server: docker.pkg.github.com | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: buid vscode dev image | |
run: | | |
cd .devcontainer | |
docker build -f Dockerfile . | |
docscontainers-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: buid docs image | |
run: | | |
cd .devcontainer | |
docker build -f DockerfileDocs . |