AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
ci(agent): Add `GIT_REVISION` label to Docker builds
Reinier van der Leer14c97738905d
diff --git a/.github/workflows/autogpt-docker-ci.yml b/.github/workflows/autogpt-docker-ci.ymlindex dc555c3814..cc57182fb7 100644--- a/.github/workflows/autogpt-docker-ci.yml+++ b/.github/workflows/autogpt-docker-ci.yml@@ -52,6 +52,7 @@ jobs:context: autogpts/autogptbuild-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 buildscache-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 buildscache-from: type=gha,scope=autogpt-docker-devdiff --git a/.github/workflows/autogpt-docker-release.yml b/.github/workflows/autogpt-docker-release.ymlindex 4213c78b5c..a4116c9f07 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 buildscache-from: ${{ !inputs.no_cache && 'type=gha' || '' }},scope=autogpt-docker-releasediff --git a/.github/workflows/autogpts-ci.yml b/.github/workflows/autogpts-ci.ymlindex 0385470ac5..ebe4992e38 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.crtHELICONE_CACHE_ENABLED: falseHELICONE_PROPERTY_AGENT: ${{ matrix.agent-name }}