diff --git a/.gitea/workflows/build-package.yaml b/.gitea/workflows/build-package.yaml index 605f2e5..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: | @@ -22,6 +22,11 @@ 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: | + 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##*/} . \ No newline at end of file