Skip to content

Commit

Permalink
Update Build-Deploy-auto.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ashutau authored Jan 18, 2023
1 parent 483f3e4 commit 4a535c0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/Build-Deploy-auto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,15 @@ jobs:
TAG_LATEST: ${{ steps.tag_vars.outputs.tag_latest }}
REGISTRY_PATH: ${{ steps.registry_path.outputs.registry_path }}
working-directory: ./dev
# use docker-compose build for 1.29.2
# docker compose build for 2.15.0 (with buildkit enabled by default)
run: |
docker-compose version
docker compose version
sed -i "s|registry=|registry=${REGISTRY_PATH}|g" .env
sed -i "s/latest/${TAG}/g" .env
docker-compose build
docker compose build
sed -i "s/${TAG}/${TAG_LATEST}/g" .env
docker-compose build
docker compose build
docker images
- name: Log in to the Container registry
Expand Down

0 comments on commit 4a535c0

Please sign in to comment.