From b2142bd4d5390ace6cf2aa18f4fe13d389589171 Mon Sep 17 00:00:00 2001 From: IceDerce <37328400+IceDerce@users.noreply.github.com> Date: Thu, 22 Dec 2022 17:18:21 +0800 Subject: [PATCH] Update build-push-docker.yml --- .github/workflows/build-push-docker.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/build-push-docker.yml b/.github/workflows/build-push-docker.yml index de12fa8..64429dd 100644 --- a/.github/workflows/build-push-docker.yml +++ b/.github/workflows/build-push-docker.yml @@ -123,6 +123,17 @@ jobs: echo "--------------------------------------" cat /proc/cpuinfo echo "--------------------------------------" + + - name: Upload the Agent Jar + uses: actions/upload-artifact@v3.1.1 + with: + # Artifact name + name: octopus-agent-{{date 'YYYY-MM-DD-HH-mm'}} + # A file, directory or wildcard pattern that describes what to upload + path: ./agent/target/agent-*.jar + # The desired behavior if no files are found using the provided path. + + retention-days: 30 - name: Build and push Docker images - [ Server ] id: docker_build_server