Skip to content

Commit 1ee3558

Browse files
committed
Update build.yaml
1 parent dc6843e commit 1ee3558

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
run: |
3636
cp tdei_uw.env .env
3737
echo "CODE_VERSION=${CODE_VERSION}" >> .env
38-
docker buildx bake -f docker-compose.build.yml --push --set *.cache-from=type=registry,ref=user/app:latest --set *.cache-to=type=inline
38+
docker buildx bake -f docker-compose.build.yml --push --set *.cache-from=type=registry,ref=${{ vars.WS_DOCKER_REGISTRY }}/${{ vars.DOCKERHUB_USERNAME }}/cache:latest --set *.cache-to=type=registry,ref=${{ vars.WS_DOCKER_REGISTRY }}/${{ vars.DOCKERHUB_USERNAME }}/cache:latest
3939
env:
4040
ENV: ${{ vars.ENV }}
4141
WS_DOCKER_REGISTRY: ${{ vars.WS_DOCKER_REGISTRY }}
@@ -68,7 +68,6 @@ jobs:
6868
WS_SMTP_PASS: ${{ secrets.WS_SMTP_PASS }}
6969
WS_TASKS_DB_PASS: ${{ secrets.WS_TASKS_DB_PASS }}
7070
WS_TASKS_SECRET_KEY: ${{ secrets.WS_TASKS_SECRET_KEY }}
71-
7271
run: |
7372
mkdir -p ~/.ssh
7473
eval `ssh-agent -s`

0 commit comments

Comments
 (0)