From 28064654ad5eb49b5947126f9c371b51c2d63ea1 Mon Sep 17 00:00:00 2001 From: Kris Crawford Date: Fri, 5 Apr 2024 08:43:38 -0400 Subject: [PATCH 1/5] Adding debug step to build --- .gitea/workflows/build-package.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitea/workflows/build-package.yaml b/.gitea/workflows/build-package.yaml index 605f2e5..027a3df 100644 --- a/.gitea/workflows/build-package.yaml +++ b/.gitea/workflows/build-package.yaml @@ -25,3 +25,6 @@ jobs: docker info #while true; do sleep 180; done + - name: Build + run: | + while true; do sleep 180; done \ No newline at end of file From c06d7be7f0d8d8bd7bf1ec4697cd2e787fae7f78 Mon Sep 17 00:00:00 2001 From: Kris Crawford Date: Fri, 5 Apr 2024 09:11:05 -0400 Subject: [PATCH 2/5] Adding debug step to build --- .gitea/workflows/build-package.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitea/workflows/build-package.yaml b/.gitea/workflows/build-package.yaml index 027a3df..205ef26 100644 --- a/.gitea/workflows/build-package.yaml +++ b/.gitea/workflows/build-package.yaml @@ -22,9 +22,12 @@ jobs: - name: Inspect run: | env + echo "${{ secrets.DOCKER_LOGIN }}" | base64 -d > ~/.docker/config.json docker info #while true; do sleep 180; done - name: Build run: | + docker buildx create --use + docker buildx build --no-cache --platform linux/amd64,linux/arm64 --output type=registry -t git.kcrawford.net/kcrawford/$(basename $(pwd)):${GITHUB_REF##*/} . while true; do sleep 180; done \ No newline at end of file From 65dbff9ce4ff48f63e876d29bc961542a19f6031 Mon Sep 17 00:00:00 2001 From: Kris Crawford Date: Fri, 5 Apr 2024 09:14:11 -0400 Subject: [PATCH 3/5] Adding directory creation step --- .gitea/workflows/build-package.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/build-package.yaml b/.gitea/workflows/build-package.yaml index 205ef26..f51df40 100644 --- a/.gitea/workflows/build-package.yaml +++ b/.gitea/workflows/build-package.yaml @@ -22,9 +22,9 @@ jobs: - name: Inspect run: | env + mkdir ~/.docker echo "${{ secrets.DOCKER_LOGIN }}" | base64 -d > ~/.docker/config.json docker info - #while true; do sleep 180; done - name: Build run: | From 68ca54bcc2a33c97ad3ee393e7a34b78a3b3a2f9 Mon Sep 17 00:00:00 2001 From: Kris Crawford Date: Fri, 5 Apr 2024 14:49:14 -0400 Subject: [PATCH 4/5] Pushing changes --- .gitea/workflows/build-package.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitea/workflows/build-package.yaml b/.gitea/workflows/build-package.yaml index f51df40..d27cbf5 100644 --- a/.gitea/workflows/build-package.yaml +++ b/.gitea/workflows/build-package.yaml @@ -29,5 +29,4 @@ jobs: - name: Build run: | docker buildx create --use - docker buildx build --no-cache --platform linux/amd64,linux/arm64 --output type=registry -t git.kcrawford.net/kcrawford/$(basename $(pwd)):${GITHUB_REF##*/} . - while true; do sleep 180; done \ No newline at end of file + docker buildx build --no-cache --platform linux/amd64,linux/arm64 --output type=registry -t git.kcrawford.net/kcrawford/$(basename $(pwd)):${GITHUB_REF##*/} . \ No newline at end of file From bc86948544d47cf69e28e7f2f2156dcedd8fa932 Mon Sep 17 00:00:00 2001 From: Kris Crawford Date: Fri, 5 Apr 2024 16:37:21 -0400 Subject: [PATCH 5/5] Testing with package username --- .gitea/workflows/build-package.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build-package.yaml b/.gitea/workflows/build-package.yaml index d27cbf5..d1a1c7e 100644 --- a/.gitea/workflows/build-package.yaml +++ b/.gitea/workflows/build-package.yaml @@ -7,9 +7,9 @@ on: jobs: build: - runs-on: dind + runs-on: kcrawford/dind container: - image: dind:0.0.1 + image: kcrawford/dind:0.0.1 steps: - name: Clone run: |