docker file changes
Some checks failed
Build and Push Ansible Container / build-and-push (arm64) (push) Failing after 13s
Build and Push Ansible Container / build-and-push (amd64) (push) Failing after 13s
Build and Push Ansible Container / manifest (push) Has been skipped
Docker-in-Docker CI/CD Pipeline / Build and Push Docker-in-Docker Images (push) Failing after 34s
Docker-in-Docker CI/CD Pipeline / Create and Publish Multi-Arch Manifest (push) Has been skipped
Some checks failed
Build and Push Ansible Container / build-and-push (arm64) (push) Failing after 13s
Build and Push Ansible Container / build-and-push (amd64) (push) Failing after 13s
Build and Push Ansible Container / manifest (push) Has been skipped
Docker-in-Docker CI/CD Pipeline / Build and Push Docker-in-Docker Images (push) Failing after 34s
Docker-in-Docker CI/CD Pipeline / Create and Publish Multi-Arch Manifest (push) Has been skipped
This commit is contained in:
parent
3d8a358b3d
commit
dd955ebcbc
2 changed files with 8 additions and 4 deletions
|
|
@ -30,7 +30,7 @@ jobs:
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: ${{ vars.REGISTRY }}
|
registry: ${{ vars.REGISTRY }}
|
||||||
username: ${{ github.actor }}
|
username: ${{ secrets.CI_REGISTRY_USER }}
|
||||||
password: ${{ secrets.FORGEJO_TOKEN }}
|
password: ${{ secrets.FORGEJO_TOKEN }}
|
||||||
- name: Build and Push Image for ${{ matrix.arch }}
|
- name: Build and Push Image for ${{ matrix.arch }}
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
|
|
@ -51,7 +51,8 @@ jobs:
|
||||||
- name: Wait for Docker Daemon
|
- name: Wait for Docker Daemon
|
||||||
run: |
|
run: |
|
||||||
i=0
|
i=0
|
||||||
while ! docker info >/dev/null 2>&1; do
|
while ! docker info >/dev/null 2>&1;
|
||||||
|
do
|
||||||
i=$((i+1))
|
i=$((i+1))
|
||||||
if [ $i -ge 15 ]; then
|
if [ $i -ge 15 ]; then
|
||||||
echo "Docker did not start within 15 seconds"
|
echo "Docker did not start within 15 seconds"
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,9 @@
|
||||||
FROM alpine:edge
|
FROM node:current-slim
|
||||||
|
|
||||||
RUN apk --no-cache add openssh-client ansible nodejs npm
|
RUN apt-get update
|
||||||
|
RUN apt-get install -y --no-install-recommends ansible curl git
|
||||||
|
RUN curl -fsSL https://pkgs.netbird.io/install.sh | sh
|
||||||
|
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue