test workflow build and push on gitea registry
Build and Push Docker Image / build_and_push (push) Failing after 52s Details

This commit is contained in:
Nicolas CARON 2024-03-07 17:55:23 +01:00
parent 17d0ee7f52
commit 76812b32d2
1 changed files with 12 additions and 3 deletions

View File

@ -14,11 +14,20 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3
# Installation de Docker
- name: Install Docker
- name: Install dependencies
run: |
apt-get update
apt-get install -y docker.io
apt-get install -y apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
apt-get update
apt-get install -y docker-ce docker-ce-cli containerd.io
# Installation de Docker
# - name: Install Docker
# run: |
# apt-get update
# apt-get install -y docker.io
- name: Start Docker
run: ln -s ~/.docker/run/docker.sock /var/run/docker.sock