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

This commit is contained in:
Nicolas CARON 2024-03-13 10:14:26 +01:00
parent 703bbaf199
commit dd9ea96f58
1 changed files with 2 additions and 16 deletions

View File

@ -8,7 +8,8 @@ on:
jobs:
build_and_push:
runs-on: docker-latest
runs-on: ubuntu-latest
container:
image: ghcr.io/catthehacker/ubuntu:act-latest
@ -16,21 +17,6 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3
- name: 'install docker-ce-cli'
run: |
apt-get update
apt-get install -y 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-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
usermod -aG docker $USER
- name: Login to Docker Registry
uses: docker/login-action@v2
with: