9
This commit is contained in:
@@ -39,10 +39,16 @@ jobs:
|
|||||||
runs-on: host
|
runs-on: host
|
||||||
needs: build_image
|
needs: build_image
|
||||||
steps:
|
steps:
|
||||||
- name: Clone repo
|
# - name: Clone repo
|
||||||
|
# run: |
|
||||||
|
# git clone ${{ gitea.server_url }}/${{ gitea.repository }} .
|
||||||
|
# git checkout ${{ gitea.ref_name }}
|
||||||
|
- name: Prepare env for compose
|
||||||
run: |
|
run: |
|
||||||
git clone ${{ gitea.server_url }}/${{ gitea.repository }} .
|
echo "REGISTRY=$REGISTRY" > .env
|
||||||
git checkout ${{ gitea.ref_name }}
|
echo "IMAGE_NAME=$IMAGE_NAME" >> .env
|
||||||
|
echo "TAG=${{ gitea.run_number }}" >> .env
|
||||||
|
cat .env
|
||||||
|
|
||||||
- name: Deploy stack
|
- name: Deploy stack
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user