test workflow build and push on gitea registry
This commit is contained in:
parent
d3bdfb24b9
commit
5f757210ac
|
@ -27,7 +27,7 @@ jobs:
|
|||
run: |
|
||||
pwd
|
||||
ls -la
|
||||
|
||||
|
||||
login_docker_registry:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
|
@ -48,34 +48,12 @@ jobs:
|
|||
pwd
|
||||
ls -la
|
||||
|
||||
clone_repository:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Install Git
|
||||
run: apt-get install git -y
|
||||
|
||||
- name: create data folder
|
||||
run: |
|
||||
mkdir data
|
||||
ls -la
|
||||
pwd
|
||||
|
||||
- name: Clone repository
|
||||
run: |
|
||||
pwd
|
||||
ls -la
|
||||
cd data
|
||||
git clone -b dev --depth 1 https://ncaron:6744954b4a3a43422e62e8d110f90de527ce094d@git.coopgo.io/coopgo-platform/mobility-accounts.git .
|
||||
pwd
|
||||
ls -la
|
||||
|
||||
build_and_push_image:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: docker:20.10.7
|
||||
needs: clone_repository
|
||||
|
||||
volumes:
|
||||
- /workspace/coopgo-platform/mobility-accounts/data:/workspace/coopgo-platform/mobility-accounts/data
|
||||
steps:
|
||||
# - name: Run Docker
|
||||
# run: |
|
||||
|
|
Loading…
Reference in New Issue