[CI] - 修改基础镜像为JDK, 方便使用arthas工具
This commit is contained in:
18
.github/workflows/build-push-docker.yml
vendored
18
.github/workflows/build-push-docker.yml
vendored
@@ -95,15 +95,15 @@ jobs:
|
||||
latest
|
||||
{{date 'YYYY-MM-DD-HH-mm'}}
|
||||
|
||||
# - name: Build My Base Image
|
||||
# uses: docker/build-push-action@v3.2.0
|
||||
# with:
|
||||
# context: ./
|
||||
# # Path to the Dockerfile
|
||||
# file: ./source/src/main/java/io/wdd/source/build-my-own-base-image.dockerfile
|
||||
# platforms: linux/amd64,linux/arm64
|
||||
# push: true
|
||||
# tags: ${{ steps.docker_tags_base.outputs.tags }}
|
||||
- name: Build My Base Image
|
||||
uses: docker/build-push-action@v3.2.0
|
||||
with:
|
||||
context: ./
|
||||
# Path to the Dockerfile
|
||||
file: ./source/src/main/java/io/wdd/source/build-my-own-base-image.dockerfile
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: true
|
||||
tags: ${{ steps.docker_tags_base.outputs.tags }}
|
||||
|
||||
- name: Cache
|
||||
uses: actions/cache@v3.2.0
|
||||
|
||||
Reference in New Issue
Block a user