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

This commit is contained in:
Nicolas CARON 2024-03-13 09:10:10 +01:00
parent ecb4e5e219
commit 8f6dab04dc
1 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ jobs:
- name: 'install docker-ce-cli' - name: 'install docker-ce-cli'
run: | run: |
apt-get update apt-get update
apt-get install ca-certificates curl apt-get install -y ca-certificates curl
install -m 0755 -d /etc/apt/keyrings install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
chmod a+r /etc/apt/keyrings/docker.asc chmod a+r /etc/apt/keyrings/docker.asc
@ -28,7 +28,7 @@ jobs:
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \ $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
tee /etc/apt/sources.list.d/docker.list > /dev/null tee /etc/apt/sources.list.d/docker.list > /dev/null
apt-get update apt-get update
apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
- name: Login to Docker Registry - name: Login to Docker Registry
uses: docker/login-action@v2 uses: docker/login-action@v2