aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorGravatar Reinier van der Leer <pwuts@agpt.co> 2024-02-12 12:31:04 +0100
committerGravatar Reinier van der Leer <pwuts@agpt.co> 2024-02-12 12:31:04 +0100
commit14c97738905dfff7d72d3b2b006e753eb9845050 (patch)
tree8bc99f9150b3e530ba5b3eb4e3f4fe1316afa749 /.github
parentfix(agent): Fix application of `extra_request_headers` in `OpenAIProvider` (diff)
downloadAuto-GPT-14c97738905dfff7d72d3b2b006e753eb9845050.tar.gz
Auto-GPT-14c97738905dfff7d72d3b2b006e753eb9845050.tar.bz2
Auto-GPT-14c97738905dfff7d72d3b2b006e753eb9845050.zip
ci(agent): Add `GIT_REVISION` label to Docker builds
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/autogpt-docker-ci.yml2
-rw-r--r--.github/workflows/autogpt-docker-release.yml1
-rw-r--r--.github/workflows/autogpts-ci.yml1
3 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/autogpt-docker-ci.yml b/.github/workflows/autogpt-docker-ci.yml
index dc555c381..cc57182fb 100644
--- a/.github/workflows/autogpt-docker-ci.yml
+++ b/.github/workflows/autogpt-docker-ci.yml
@@ -52,6 +52,7 @@ jobs:
context: autogpts/autogpt
build-args: BUILD_TYPE=${{ matrix.build-type }}
tags: ${{ env.IMAGE_NAME }}
+ labels: GIT_REVISION=${{ github.sha }}
load: true # save to docker images
# cache layers in GitHub Actions cache to speed up builds
cache-from: type=gha,scope=autogpt-docker-${{ matrix.build-type }}
@@ -122,6 +123,7 @@ jobs:
tags: >
${{ env.IMAGE_NAME }},
${{ env.DEPLOY_IMAGE_NAME }}:${{ env.DEV_IMAGE_TAG }}
+ labels: GIT_REVISION=${{ github.sha }}
load: true # save to docker images
# cache layers in GitHub Actions cache to speed up builds
cache-from: type=gha,scope=autogpt-docker-dev
diff --git a/.github/workflows/autogpt-docker-release.yml b/.github/workflows/autogpt-docker-release.yml
index 4213c78b5..a4116c9f0 100644
--- a/.github/workflows/autogpt-docker-release.yml
+++ b/.github/workflows/autogpt-docker-release.yml
@@ -56,6 +56,7 @@ jobs:
${{ env.IMAGE_NAME }},
${{ env.DEPLOY_IMAGE_NAME }}:latest,
${{ env.DEPLOY_IMAGE_NAME }}:${{ steps.sanitize_tag.outputs.tag }}
+ labels: GIT_REVISION=${{ github.sha }}
# cache layers in GitHub Actions cache to speed up builds
cache-from: ${{ !inputs.no_cache && 'type=gha' || '' }},scope=autogpt-docker-release
diff --git a/.github/workflows/autogpts-ci.yml b/.github/workflows/autogpts-ci.yml
index 0385470ac..ebe4992e3 100644
--- a/.github/workflows/autogpts-ci.yml
+++ b/.github/workflows/autogpts-ci.yml
@@ -61,7 +61,6 @@ jobs:
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
AGENT_NAME: ${{ matrix.agent-name }}
- HELICONE_API_KEY: ${{ secrets.HELICONE_API_KEY }}
REQUESTS_CA_BUNDLE: /etc/ssl/certs/ca-certificates.crt
HELICONE_CACHE_ENABLED: false
HELICONE_PROPERTY_AGENT: ${{ matrix.agent-name }}