test workflow build and push on gitea registry
Build and Push Docker Image / test (push) Failing after 5s
Details
Build and Push Docker Image / test (push) Failing after 5s
Details
This commit is contained in:
parent
ddf002ee11
commit
11077fd56f
|
@ -10,7 +10,7 @@ jobs:
|
|||
test:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ubuntu:latest
|
||||
image: docker:20.10.7
|
||||
steps:
|
||||
- name: Check folders
|
||||
run: |
|
||||
|
@ -31,22 +31,6 @@ jobs:
|
|||
pwd
|
||||
ls -la
|
||||
|
||||
- name: Install Docker
|
||||
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
|
||||
docker --version
|
||||
dockerd &
|
||||
|
||||
- name: Login to Docker Registry
|
||||
run: |
|
||||
docker login -u ncaron -p 6744954b4a3a43422e62e8d110f90de527ce094d git.coopgo.io
|
||||
|
|
Loading…
Reference in New Issue