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: jobs:
checkout_repository: checkout_repository:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container:
image: ubuntu:latest
volumes:
- /workspace/coopgo-platform/mobility-accounts/data:/workspace/coopgo-platform/mobility-accounts/data
steps: steps:
- name: create data folder - name: create data folder
@ -22,7 +26,10 @@ jobs:
login_docker_registry: login_docker_registry:
runs-on: ubuntu-latest 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: steps:
- name: Login to Docker Registry - name: Login to Docker Registry
@ -32,12 +39,17 @@ jobs:
username: ncaron username: ncaron
password: 6744954b4a3a43422e62e8d110f90de527ce094d password: 6744954b4a3a43422e62e8d110f90de527ce094d
- name: Check folders
run: |
pwd
ls -la
clone_repository: clone_repository:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container:
image: alpine/git:latest image: alpine/git:latest
volumes: volumes:
- /data:/data - /workspace/coopgo-platform/mobility-accounts/data:/workspace/coopgo-platform/mobility-accounts/data
steps: steps:
- name: Clone repository - name: Clone repository
@ -54,7 +66,7 @@ jobs:
container: container:
image: docker:20.10.7 image: docker:20.10.7
volumes: volumes:
- /workspace/coopgo-platform/mobility-accounts/data:/data - /workspace/coopgo-platform/mobility-accounts/data:/workspace/coopgo-platform/mobility-accounts/data
needs: clone_repository needs: clone_repository
steps: steps: