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: Build Docker image on tag | |
on: push | |
# push: | |
# tags: | |
# - '*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout codebase | |
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | |
- name: Setup Docker buildx | |
run: docker buildx create --use | |
- name: Install dependencies | |
run: npm ci | |
- name: Build Docker images | |
run: docker buildx build --tag humanscript --platform linux/amd64,linux/arm64 --load . |