test workflow build and push on gitea registry
Build and Push Docker Image / checkout_repository (push) Successful in 6s Details
Build and Push Docker Image / login_docker_registry (push) Successful in 6s Details
Build and Push Docker Image / clone_repository (push) Failing after 1m43s Details
Build and Push Docker Image / build_and_push_image (push) Has been skipped Details

This commit is contained in:
Nicolas CARON 2024-03-15 09:00:36 +01:00
parent 2482c64d1c
commit f4b1d75e96
1 changed files with 5 additions and 7 deletions

View File

@ -40,18 +40,17 @@ jobs:
clone_repository:
runs-on: ubuntu-latest
container:
image: alpine/git:latest
volumes:
- /workspace/coopgo-platform/mobility-accounts/data:/workspace/coopgo-platform/mobility-accounts/data
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
@ -66,12 +65,11 @@ jobs:
with:
name: mobility-accounts
path: data
build_and_push_image:
runs-on: ubuntu-latest
container:
image: docker:20.10.7
volumes:
- /workspace/coopgo-platform/mobility-accounts/data:/workspace/coopgo-platform/mobility-accounts/data
needs: clone_repository
steps: