Skip to content

Commit

Permalink
ci: write everything into GITHUB_ENV again
Browse files Browse the repository at this point in the history
  • Loading branch information
TimPietrusky committed Jul 25, 2024
1 parent 258c57c commit fb5dd45
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ jobs:

- name: Set environment variables
run: |
echo "DOCKERHUB_REPO=${{ vars.DOCKERHUB_REPO }}" >> $GITHUB_ENV
echo "DOCKERHUB_IMG=${{ vars.DOCKERHUB_IMG }}" >> $GITHUB_ENV
echo "HUGGINGFACE_ACCESS_TOKEN=${{ secrets.HUGGINGFACE_ACCESS_TOKEN }}" >> $GITHUB_ENV
echo "RELEASE_VERSION=${GITHUB_REF##refs/heads/}" | sed 's/\//-/g' >> $GITHUB_ENV
Expand All @@ -54,13 +56,13 @@ jobs:
push: true
targets: sd3
set: |
base.args.DOCKERHUB_REPO=${{ vars.DOCKERHUB_REPO }}
base.args.DOCKERHUB_IMG=${{ vars.DOCKERHUB_IMG }}
base.args.DOCKERHUB_REPO=${{ env.DOCKERHUB_REPO }}
base.args.DOCKERHUB_IMG=${{ env.DOCKERHUB_IMG }}
base.args.RELEASE_VERSION=${{ env.RELEASE_VERSION }}
sdxl.args.DOCKERHUB_REPO=${{ vars.DOCKERHUB_REPO }}
sdxl.args.DOCKERHUB_IMG=${{ vars.DOCKERHUB_IMG }}
sdxl.args.DOCKERHUB_REPO=${{ env.DOCKERHUB_REPO }}
sdxl.args.DOCKERHUB_IMG=${{ env.DOCKERHUB_IMG }}
sdxl.args.RELEASE_VERSION=${{ env.RELEASE_VERSION }}
sd3.args.HUGGINGFACE_ACCESS_TOKEN=${{ env.HUGGINGFACE_ACCESS_TOKEN }}
sd3.args.DOCKERHUB_REPO=${{ vars.DOCKERHUB_REPO }}
sd3.args.DOCKERHUB_IMG=${{ vars.DOCKERHUB_IMG }}
sd3.args.DOCKERHUB_REPO=${{ env.DOCKERHUB_REPO }}
sd3.args.DOCKERHUB_IMG=${{ env.DOCKERHUB_IMG }}
sd3.args.RELEASE_VERSION=${{ env.RELEASE_VERSION }}

0 comments on commit fb5dd45

Please sign in to comment.