test workflow build and push on gitea registry
Build and Push Docker Image / build_and_push (push) Failing after 52s
Details
Build and Push Docker Image / build_and_push (push) Failing after 52s
Details
This commit is contained in:
parent
17d0ee7f52
commit
76812b32d2
|
@ -14,11 +14,20 @@ jobs:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
# Installation de Docker
|
- name: Install dependencies
|
||||||
- name: Install Docker
|
|
||||||
run: |
|
run: |
|
||||||
apt-get update
|
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
|
- name: Start Docker
|
||||||
run: ln -s ~/.docker/run/docker.sock /var/run/docker.sock
|
run: ln -s ~/.docker/run/docker.sock /var/run/docker.sock
|
||||||
|
|
Loading…
Reference in New Issue