filtering为true,拷贝文件时会用对文件中的占位符进行替换处理,此处无此需求,改成false更合理。maven3.9.+编译时会… #24
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 | |
on: | |
workflow_dispatch: | |
inputs: | |
logLevel: | |
description: 'Log level' | |
required: false | |
default: 'warning' | |
type: choice | |
options: | |
- info | |
- warning | |
- debug | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
HUB: meituaninc | |
IMAGE: cat | |
TAG: ${{ github.sha }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v1 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v1 | |
- name: Build the Docker image | |
run: docker buildx create --use --name cat-bulder --driver docker-container && | |
docker buildx build --load | |
-t $HUB/$IMAGE:$TAG -t $HUB/$IMAGE:latest | |
-f docker/Dockerfile . && | |
docker buildx rm cat-bulder |