This repository has been archived by the owner on Oct 16, 2024. It is now read-only.
Update Node.js to v20 #29
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: Run Docker build | |
on: | |
pull_request: | |
paths: | |
- Dockerfile | |
types: [opened, synchronize] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Build docker image | |
uses: docker/build-push-action@v6 | |
with: | |
secrets: github_token=${{ secrets.GITHUB_TOKEN }} | |
cache-from: type=gha | |
cache-to: type=gha | |
push: false |