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

This commit is contained in:
Nicolas CARON 2024-03-13 12:40:02 +01:00
parent 4436c6ad5e
commit 1a283360aa
1 changed files with 18 additions and 14 deletions

View File

@ -27,8 +27,26 @@ jobs:
username: ncaron username: ncaron
password: 6744954b4a3a43422e62e8d110f90de527ce094d password: 6744954b4a3a43422e62e8d110f90de527ce094d
prepare_environment:
runs-on: ubuntu-latest
steps:
- name: Install dependencies
run: |
apt update
apt install -y git
- name: Clone repository
run: |
git clone -b dev --depth 1 https://ncaron:6744954b4a3a43422e62e8d110f90de527ce094d@git.coopgo.io/coopgo-platform/mobility-accounts.git .
- name: Check folder
run: |
ls -la
build_and_push_image: build_and_push_image:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: docker:latest
steps: steps:
# - name: Run Docker # - name: Run Docker
@ -53,20 +71,6 @@ jobs:
# run: | # run: |
# echo "Latest tag found: ${{ steps.get_tags.outputs.latest_tag }}" # echo "Latest tag found: ${{ steps.get_tags.outputs.latest_tag }}"
- name: Install Docker
run: |
apt update
apt install -y docker.io
- name: Install dependencies
run: |
apt update
apt install -y git
- name: Clone repository
run: |
git clone -b dev --depth 1 https://ncaron:6744954b4a3a43422e62e8d110f90de527ce094d@git.coopgo.io/coopgo-platform/mobility-accounts.git .
- name: Check folder - name: Check folder
run: | run: |
ls -la ls -la