[ 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
logout: true
# - name: Docker Tags GENERATE Uniformly - [ BASE ]
# id: docker_tags_base # you'll use this in the next step
# uses: docker/metadata-action@v4.1.1
# with:
# # list of Docker images to use as base name for tags
# images: |
# ${{ secrets.DOCKERHUB_USERNAME }}/eclipse-temurin-11-jre-focal
# # Docker tags based on the following events/attributes
# tags: |
# latest
# {{date 'YYYY-MM-DD-HH-mm'}}
- name: Docker Tags GENERATE Uniformly - [ BASE ]
id: docker_tags_base # you'll use this in the next step
uses: docker/metadata-action@v4.1.1
with:
# list of Docker images to use as base name for tags
images: |
${{ secrets.DOCKERHUB_USERNAME }}/eclipse-temurin-11-jre-focal
# Docker tags based on the following events/attributes
tags: |
latest
{{date 'YYYY-MM-DD-HH-mm'}}
- name: Docker Tags GENERATE Uniformly - [ SERVER ]
id: docker_tags_server # you'll use this in the next step
@@ -96,15 +96,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: Maven package project
run: |