chore(deps): bump docker/build-push-action from 4 to 6 #628
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: Test | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v3.6.0 | |
with: | |
# Version Spec of the version to use. Examples: 12.x, 10.15.1, >=10.15.0 | |
node-version: '>= 16.9.1' | |
# Set this option if you want the action to check for the latest available version that satisfies the version spec | |
check-latest: false | |
- run: npm install -g @quasar/cli | |
- run: npm install | |
- run: quasar build | |
- run: pwd && ls -al * | |
docker: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Get branch name | |
id: branch-name | |
uses: tj-actions/branch-names@v6 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v2 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Build | |
uses: docker/build-push-action@v6 | |
with: | |
context: . | |
file: ./Dockerfile | |
build-args: | | |
BRANCH_OR_TAG=${{ steps.branch-name.outputs.current_branch }} | |
HOSTER=github.com | |
platforms: linux/amd64,linux/arm64 | |
push: false |