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: clone_repository:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container:
image: alpine/git:latest
volumes:
- /workspace/coopgo-platform/mobility-accounts/data:/workspace/coopgo-platform/mobility-accounts/data
steps: steps:
- name: Install Git
run: apt-get install git -y
- name: create data folder - name: create data folder
run: | run: |
mkdir data mkdir data
ls -la ls -la
pwd pwd
- name: Clone repository - name: Clone repository
run: | run: |
pwd pwd
@ -66,12 +65,11 @@ jobs:
with: with:
name: mobility-accounts name: mobility-accounts
path: data path: data
build_and_push_image: build_and_push_image:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container:
image: docker:20.10.7 image: docker:20.10.7
volumes:
- /workspace/coopgo-platform/mobility-accounts/data:/workspace/coopgo-platform/mobility-accounts/data
needs: clone_repository needs: clone_repository
steps: steps: