test workflow build and push on gitea registry
Build and Push Docker Image / checkout_repository (push) Successful in 7s Details
Build and Push Docker Image / login_docker_registry (push) Successful in 6s Details
Build and Push Docker Image / build_and_push_image (push) Failing after 3s Details

This commit is contained in:
Nicolas CARON 2024-03-15 09:11:10 +01:00
parent d3bdfb24b9
commit 5f757210ac
1 changed files with 3 additions and 25 deletions

View File

@ -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: |