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

This commit is contained in:
Nicolas CARON 2024-03-15 11:48:53 +01:00
parent f9fea0864a
commit 09a72d4b44
1 changed files with 8 additions and 5 deletions

View File

@ -26,12 +26,15 @@ jobs:
- name: Install Docker
run: |
apt-get update
apt-get install -y apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
apt-get install ca-certificates curl
install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
chmod a+r /etc/apt/keyrings/docker.asc
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
tee /etc/apt/sources.list.d/docker.list > /dev/null
apt-get update
apt-get install -y docker-ce
docker --version
- name: Login to Docker Registry
uses: docker/login-action@v2