GitHub Action用于构建Docker映像并将其发布到GitHub Package Registry 用法示例: 为develop分支构建并发布带有head标签的Docker映像 build-and-publish-head : runs-on : ubuntu-latest if : github.ref == 'refs/heads/develop' # Running this job only for develop branch steps : - uses : actions/checkout@v2 # Checking out the repo - name : Build and Publish head Docker image uses : VaultVulp/gp-docker-action@1.1.8