test
Build and Push Docker Image / checkout_repository (push) Successful in 24s Details

This commit is contained in:
Nicolas CARON 2024-03-20 11:09:32 +01:00
parent b7d0b6cda8
commit af2767e9de
1 changed files with 2 additions and 43 deletions

View File

@ -7,10 +7,8 @@ on:
- dev - dev
jobs: jobs:
test: checkout_repository:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container:
image: docker:git
steps: steps:
- name: Check folders - name: Check folders
run: | run: |
@ -18,52 +16,13 @@ jobs:
ls -la ls -la
- name: Checkout repository - name: Checkout repository
run: | uses: actions/checkout@v3
git clone -b dev --depth 1 https://ncaron:6744954b4a3a43422e62e8d110f90de527ce094d@git.coopgo.io/coopgo-platform/mobility-accounts .
- name: Check folders - name: Check folders
run: | run: |
pwd pwd
ls -la 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: # login_docker_registry:
# runs-on: # runs-on:
# group: ubuntu-latest # group: ubuntu-latest