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

View File

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

View File

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