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