From 2e1b7d2eca032db6d2d9e793122d08d9afcba56d Mon Sep 17 00:00:00 2001 From: Alis Akers Date: Fri, 24 May 2024 12:50:34 -0700 Subject: [PATCH] add tentacle base image for Octopus Deployment Target or Worker Tentacles --- .github/actions/build-and-push-octopus/action.yml | 14 ++++++++++++-- octopus/Dockerfile.tentacle | 8 ++++++++ octopus/VERSION | 2 +- octopus/{dockerfile => dockerfile.server} | 0 4 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 octopus/Dockerfile.tentacle rename octopus/{dockerfile => dockerfile.server} (100%) diff --git a/.github/actions/build-and-push-octopus/action.yml b/.github/actions/build-and-push-octopus/action.yml index 95c6d1e..02fdd09 100644 --- a/.github/actions/build-and-push-octopus/action.yml +++ b/.github/actions/build-and-push-octopus/action.yml @@ -35,8 +35,18 @@ runs: uses: docker/build-push-action@v5 with: context: ./octopus - file: ./octopus/dockerfile + file: ./octopus/dockerfile.server push: true tags: | ${{ inputs.acr_registry }}/dibbs-cloud/octopusdeploy:${{ env.VERSION }} - ${{ inputs.acr_registry }}/dibbs-cloud/octopusdeploy:latest \ No newline at end of file + ${{ inputs.acr_registry }}/dibbs-cloud/octopusdeploy:latest + + - name: Build and push Docker image + uses: docker/build-push-action@v5 + with: + context: ./octopus + file: ./octopus/dockerfile.tentacle + push: true + tags: | + ${{ inputs.acr_registry }}/dibbs-cloud/octopusdeploytentacle:${{ env.VERSION }} + ${{ inputs.acr_registry }}/dibbs-cloud/octopusdeploytentacle:latest \ No newline at end of file diff --git a/octopus/Dockerfile.tentacle b/octopus/Dockerfile.tentacle new file mode 100644 index 0000000..023bf6b --- /dev/null +++ b/octopus/Dockerfile.tentacle @@ -0,0 +1,8 @@ +FROM octopusdeploy/tentacle:8.1.1693 + +ENV ACCEPT_EULA=Y +ENV ListeningPort="" +ENV ServerApiKey="" +ENV TargetEnvironment="" +ENV TargetRoles="" +ENV ServerUrl="" diff --git a/octopus/VERSION b/octopus/VERSION index 8a9ecc2..7bcd0e3 100644 --- a/octopus/VERSION +++ b/octopus/VERSION @@ -1 +1 @@ -0.0.1 \ No newline at end of file +0.0.2 \ No newline at end of file diff --git a/octopus/dockerfile b/octopus/dockerfile.server similarity index 100% rename from octopus/dockerfile rename to octopus/dockerfile.server