complete CI - 4

This commit is contained in:
zeaslity
2022-11-23 09:48:37 +08:00
parent c932b5b11b
commit fa22907b08
2 changed files with 39 additions and 16 deletions

View File

@@ -141,20 +141,20 @@ jobs:
push: true
tags: ${{ steps.docker_tags_server.outputs.tags }}
# - name: Build and push Docker images - [ Agent ]
# id: docker_build_agent
# # You may pin to the exact commit or the version.
# # uses: docker/build-push-action@c56af957549030174b10d6867f20e78cfd7debc5
# uses: docker/build-push-action@v3.2.0
# with:
# context: ./
# # Path to the Dockerfile
# file: ./agent/Dockerfile
# # List of target platforms for build
# platforms: linux/amd64,linux/arm64
# # Always attempt to pull all referenced images
# pull: false
# # Push is a shorthand for --output=type=registry
# push: true
# tags: ${{ steps.docker_tags_agent.outputs.tags }}
- name: Build and push Docker images - [ Agent ]
id: docker_build_agent
# You may pin to the exact commit or the version.
# uses: docker/build-push-action@c56af957549030174b10d6867f20e78cfd7debc5
uses: docker/build-push-action@v3.2.0
with:
context: ./
# Path to the Dockerfile
file: ./agent/Dockerfile
# List of target platforms for build
platforms: linux/amd64,linux/arm64
# Always attempt to pull all referenced images
pull: false
# Push is a shorthand for --output=type=registry
push: true
tags: ${{ steps.docker_tags_agent.outputs.tags }}