chore(deps): update actions/checkout action to v4.2.2 #20
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: Prebuild Devcontainer Image | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- '.github/workflows/prebuild-devcontainer-image.yml' | |
- '.github/.devcontainer/*' | |
- '.tool-versions' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Login to GitHub Container Registry | |
uses: docker/[email protected] | |
with: | |
registry: ghcr.io | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Pre-build dev container image | |
uses: devcontainers/[email protected] | |
with: | |
subFolder: .github | |
imageName: ghcr.io/dangmai/prettier-plugin-apex-devcontainer | |
cacheFrom: ghcr.io/dangmai/prettier-plugin-apex-devcontainer | |
push: always |