From af2767e9dec96d4c1e33ab787f27a99043bc45f4 Mon Sep 17 00:00:00 2001 From: Nicolas Caron Date: Wed, 20 Mar 2024 11:09:32 +0100 Subject: [PATCH] test --- .github/workflows/build.yml | 45 ++----------------------------------- 1 file changed, 2 insertions(+), 43 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dc73593..7e95fb4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,10 +7,8 @@ on: - dev jobs: - test: + checkout_repository: runs-on: ubuntu-latest - container: - image: docker:git steps: - name: Check folders run: | @@ -18,52 +16,13 @@ jobs: ls -la - name: Checkout repository - run: | - git clone -b dev --depth 1 https://ncaron:6744954b4a3a43422e62e8d110f90de527ce094d@git.coopgo.io/coopgo-platform/mobility-accounts . + uses: actions/checkout@v3 - name: Check folders run: | pwd ls -la - - name: Login to Docker Registry - run: | - docker login -u ncaron -p 6744954b4a3a43422e62e8d110f90de527ce094d git.coopgo.io - - - name: test docker - run: | - docker --version - dockerd & - - - name: Run docker hello-world - run: | - docker run hello-world - - - name: Docker Build - run: | - docker build -t git.coopgo.io/coopgo-platform/mobility-accounts:test . - # checkout_repository: - # runs-on: - # group: ubuntu-latest - # container: - # image: ghcr.io/catthehacker/ubuntu:act-latest - # volumes: - # - /workspace/coopgo-platform/mobility-accounts:/workspace/coopgo-platform/mobility-accounts - - # steps: - # - name: Check folders - # run: | - # pwd - # ls -la - - # - name: Checkout repository - # uses: actions/checkout@v3 - - # - name: Check folders - # run: | - # pwd - # ls -la - # login_docker_registry: # runs-on: # group: ubuntu-latest