test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 52s
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 52s
This commit is contained in:
15
.github/workflows/build.yml
vendored
15
.github/workflows/build.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user