feature/ci-cd #1
@@ -18,17 +18,17 @@ jobs:
|
|||||||
|
|
||||||
- name: Login to Registry
|
- name: Login to Registry
|
||||||
run: |
|
run: |
|
||||||
echo "${{ secrets.REGISTRY_PASSWORD }}" | docker login yourdomain.com \
|
echo "${{ secrets.REGISTRY_PASSWORD }}" | docker login git.vxbard.net \
|
||||||
-u ${{ secrets.REGISTRY_USERNAME }} \
|
-u ${{ secrets.REGISTRY_USERNAME }} \
|
||||||
--password-stdin
|
--password-stdin
|
||||||
|
|
||||||
- name: Build image
|
- name: Build image
|
||||||
run: |
|
run: |
|
||||||
docker build -t yourdomain.com/owner/frontend:latest .
|
docker build -t git.vxbard.net/homeburger/agologum-client:latest ./client
|
||||||
|
|
||||||
- name: Push
|
- name: Push
|
||||||
run: |
|
run: |
|
||||||
docker push yourdomain.com/owner/frontend:latest
|
docker push git.vxbard.net/homeburger/agologum-client:latest
|
||||||
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user