change tag names
This commit is contained in:
parent
92c4e7d3b7
commit
3757303e60
@ -45,14 +45,14 @@ jobs:
|
|||||||
- name: Build Backend Image
|
- name: Build Backend Image
|
||||||
run: |
|
run: |
|
||||||
docker build \
|
docker build \
|
||||||
-t $REGISTRY/costco-backend:${{ github.sha }} \
|
-t $REGISTRY/costco-grocery-list-backend:${{ github.sha }} \
|
||||||
-t $REGISTRY/costco-backend:latest \
|
-t $REGISTRY/costco-grocery-list-backend:latest \
|
||||||
-f backend/Dockerfile backend/
|
-f backend/Dockerfile backend/
|
||||||
|
|
||||||
- name: Push Backend Image
|
- name: Push Backend Image
|
||||||
run: |
|
run: |
|
||||||
docker push $REGISTRY/costco-backend:${{ github.sha }}
|
docker push $REGISTRY/costco-grocery-list-backend:${{ github.sha }}
|
||||||
docker push $REGISTRY/costco-backend:latest
|
docker push $REGISTRY/costco-grocery-list-backend:latest
|
||||||
|
|
||||||
# -------------------------
|
# -------------------------
|
||||||
# 🔹 Build Frontend Image
|
# 🔹 Build Frontend Image
|
||||||
@ -60,14 +60,14 @@ jobs:
|
|||||||
- name: Build Frontend Image
|
- name: Build Frontend Image
|
||||||
run: |
|
run: |
|
||||||
docker build \
|
docker build \
|
||||||
-t $REGISTRY/costco-frontend:${{ github.sha }} \
|
-t $REGISTRY/costco-grocery-list-frontend:${{ github.sha }} \
|
||||||
-t $REGISTRY/costco-frontend:latest \
|
-t $REGISTRY/costco-grocery-list-frontend:latest \
|
||||||
-f frontend/Dockerfile frontend/
|
-f frontend/Dockerfile frontend/
|
||||||
|
|
||||||
- name: Push Frontend Image
|
- name: Push Frontend Image
|
||||||
run: |
|
run: |
|
||||||
docker push $REGISTRY/costco-frontend:${{ github.sha }}
|
docker push $REGISTRY/costco-grocery-list-frontend:${{ github.sha }}
|
||||||
docker push $REGISTRY/costco-frontend:latest
|
docker push $REGISTRY/costco-grocery-list-frontend:latest
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
needs: build
|
needs: build
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user