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

This commit is contained in:
IceDerce
2022-12-22 17:44:16 +08:00
parent 6d55071b9c
commit 6c2d35def5
3 changed files with 20 additions and 19 deletions

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
@@ -137,7 +137,7 @@ jobs:
]' ]'
- name: Publish to GitHub Packages Apache Maven - name: Publish to GitHub Packages Apache Maven
run: mvn deploy run: mvn -DskipTests=true deploy --file pom.xml
env: env:
GITHUB_USERNAME: ${{ secrets.USERNAME }} GITHUB_USERNAME: ${{ secrets.USERNAME }}
GITHUB_TOKEN: ${{ secrets.ALL_TOKEN }} GITHUB_TOKEN: ${{ secrets.ALL_TOKEN }}

View File

@@ -51,13 +51,6 @@
</dependencies> </dependencies>
</dependencyManagement> </dependencyManagement>
<distributionManagement>
<repository>
<id>github</id>
<name>GitHub Apache Maven Packages</name>
<url>https://maven.pkg.github.com/zeaslity/ProjectOctopus</url>
</repository>
</distributionManagement>
<build> <build>
<plugins> <plugins>

View File

@@ -146,6 +146,14 @@
</dependencies> </dependencies>
<distributionManagement>
<repository>
<id>github</id>
<name>GitHub Apache Maven Packages</name>
<url>https://maven.pkg.github.com/zeaslity/ProjectOctopus</url>
</repository>
</distributionManagement>
<dependencyManagement> <dependencyManagement>
<dependencies> <dependencies>
<dependency> <dependency>