[ agent ] [ boot ] - agent boot up procedure - 3

This commit is contained in:
IceDerce
2022-12-22 17:46:02 +08:00
parent 6c2d35def5
commit 4b3e7b326e

View File

@@ -60,17 +60,17 @@ jobs:
# optional, default is true # optional, default is true
logout: true logout: true
# - name: Docker Tags GENERATE Uniformly - [ BASE ] - name: Docker Tags GENERATE Uniformly - [ BASE ]
# id: docker_tags_base # you'll use this in the next step id: docker_tags_base # you'll use this in the next step
# uses: docker/metadata-action@v4.1.1 uses: docker/metadata-action@v4.1.1
# with: with:
# # list of Docker images to use as base name for tags # list of Docker images to use as base name for tags
# images: | images: |
# ${{ secrets.DOCKERHUB_USERNAME }}/eclipse-temurin-11-jre-focal ${{ secrets.DOCKERHUB_USERNAME }}/eclipse-temurin-11-jre-focal
# # Docker tags based on the following events/attributes # Docker tags based on the following events/attributes
# tags: | tags: |
# latest latest
# {{date 'YYYY-MM-DD-HH-mm'}} {{date 'YYYY-MM-DD-HH-mm'}}
- name: Docker Tags GENERATE Uniformly - [ SERVER ] - name: Docker Tags GENERATE Uniformly - [ SERVER ]
id: docker_tags_server # you'll use this in the next step id: docker_tags_server # you'll use this in the next step
@@ -96,15 +96,15 @@ jobs:
latest latest
{{date 'YYYY-MM-DD-HH-mm'}} {{date 'YYYY-MM-DD-HH-mm'}}
- name: Build My Base Image # - name: Build My Base Image
uses: docker/build-push-action@v3.2.0 # uses: docker/build-push-action@v3.2.0
with: # with:
context: ./ # context: ./
# Path to the Dockerfile # # Path to the Dockerfile
file: ./source/src/main/java/io/wdd/source/build-my-own-base-image.dockerfile # file: ./source/src/main/java/io/wdd/source/build-my-own-base-image.dockerfile
platforms: linux/amd64,linux/arm64 # platforms: linux/amd64,linux/arm64
push: true # push: true
tags: ${{ steps.docker_tags_base.outputs.tags }} # tags: ${{ steps.docker_tags_base.outputs.tags }}
- name: Maven package project - name: Maven package project
run: | run: |