Update build-push-docker.yml
This commit is contained in:
21
.github/workflows/build-push-docker.yml
vendored
21
.github/workflows/build-push-docker.yml
vendored
@@ -124,11 +124,30 @@ jobs:
|
|||||||
cat /proc/cpuinfo
|
cat /proc/cpuinfo
|
||||||
echo "--------------------------------------"
|
echo "--------------------------------------"
|
||||||
|
|
||||||
|
- name: Setup Maven settings.xml
|
||||||
|
uses: whelk-io/maven-settings-xml-action@v11
|
||||||
|
with:
|
||||||
|
servers:
|
||||||
|
'[
|
||||||
|
{
|
||||||
|
"id": "github",
|
||||||
|
"username": "${env.GITHUB_USERNAME}",
|
||||||
|
"password": "${env.GITHUB_TOKEN}"
|
||||||
|
}
|
||||||
|
]'
|
||||||
|
|
||||||
|
- name: Publish to GitHub Packages Apache Maven
|
||||||
|
run: mvn deploy
|
||||||
|
env:
|
||||||
|
GITHUB_USERNAME: ${{ secrets.GITHUB_USERNAME }}
|
||||||
|
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
|
||||||
|
BUILD_ENV: 'github-actions'
|
||||||
|
|
||||||
- name: Upload the Agent Jar
|
- name: Upload the Agent Jar
|
||||||
uses: actions/upload-artifact@v3.1.1
|
uses: actions/upload-artifact@v3.1.1
|
||||||
with:
|
with:
|
||||||
# Artifact name
|
# Artifact name
|
||||||
name: octopus-agent-{{date 'YYYY-MM-DD-HH-mm'}}
|
name: octopus-agent-"{{date 'YYYY-MM-DD-HH-mm'}}"
|
||||||
# A file, directory or wildcard pattern that describes what to upload
|
# A file, directory or wildcard pattern that describes what to upload
|
||||||
path: ./agent/target/agent-*.jar
|
path: ./agent/target/agent-*.jar
|
||||||
# The desired behavior if no files are found using the provided path.
|
# The desired behavior if no files are found using the provided path.
|
||||||
|
|||||||
Reference in New Issue
Block a user