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