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

This commit is contained in:
Nicolas CARON 2024-03-13 15:34:38 +01:00
parent 546628213f
commit 42028219ba
1 changed files with 15 additions and 3 deletions

View File

@ -9,6 +9,10 @@ on:
jobs:
checkout_repository:
runs-on: ubuntu-latest
container:
image: ubuntu:latest
volumes:
- /workspace/coopgo-platform/mobility-accounts/data:/workspace/coopgo-platform/mobility-accounts/data
steps:
- name: create data folder
@ -22,7 +26,10 @@ jobs:
login_docker_registry:
runs-on: ubuntu-latest
container: ghcr.io/catthehacker/ubuntu:act-latest
container:
image: ghcr.io/catthehacker/ubuntu:act-latest
volumes:
- /workspace/coopgo-platform/mobility-accounts/data:/workspace/coopgo-platform/mobility-accounts/data
steps:
- name: Login to Docker Registry
@ -31,13 +38,18 @@ jobs:
registry: git.coopgo.io
username: ncaron
password: 6744954b4a3a43422e62e8d110f90de527ce094d
- name: Check folders
run: |
pwd
ls -la
clone_repository:
runs-on: ubuntu-latest
container:
image: alpine/git:latest
volumes:
- /data:/data
- /workspace/coopgo-platform/mobility-accounts/data:/workspace/coopgo-platform/mobility-accounts/data
steps:
- name: Clone repository
@ -54,7 +66,7 @@ jobs:
container:
image: docker:20.10.7
volumes:
- /workspace/coopgo-platform/mobility-accounts/data:/data
- /workspace/coopgo-platform/mobility-accounts/data:/workspace/coopgo-platform/mobility-accounts/data
needs: clone_repository
steps: