Skip to content

Commit

Permalink
ci(agent): Fix Docker CI for PR runs from forks (vol. 2)
Browse files Browse the repository at this point in the history
- Fix docker image tag format error when `secrets.DOCKER_USER` is not set
  • Loading branch information
Pwuts committed Mar 22, 2024
1 parent 028d2c3 commit 20041d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/autogpt-docker-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ defaults:

env:
IMAGE_NAME: auto-gpt
DEPLOY_IMAGE_NAME: ${{ secrets.DOCKER_USER }}/auto-gpt
DEPLOY_IMAGE_NAME: ${{ secrets.DOCKER_USER && format('{0}/', secrets.DOCKER_USER) || '' }}auto-gpt
DEV_IMAGE_TAG: latest-dev

jobs:
Expand Down

0 comments on commit 20041d6

Please sign in to comment.